mtien-apache commented on pull request #319:
URL: https://github.com/apache/nifi-registry/pull/319#issuecomment-832217308


   > In the Actions drop-down, "Import new version" is always highlighted even 
when another selection has the focus.
   > 
   > 
![Actions_highlight](https://user-images.githubusercontent.com/18287533/116733672-60eba800-a9ba-11eb-847d-a6d5486d1c7f.png)
   
   @andrewmlim (cc: @moranr ) It seems like the initial focus behavior is based 
on keyboard actions and from an accessibility perspective, it's the expected 
behavior. When using the arrow keys, the focus moves with the new selection. I 
think what is making it confusing is that the keyboard and mouseover selections 
have the same red highlighting styles. I believe this highlighting behavior was 
always present but probably wasn't an issue since there had only been 1 menu 
item (Delete). 
   
   One proposed fix is I can dig in to change the styles between a keyboard 
selection and mouseover selection, something like in other dropdown menus in 
Registry:
   
   <img width="400" alt="Screen Shot 2021-05-04 at 11 29 44 AM" 
src="https://user-images.githubusercontent.com/56892372/117064443-111f2080-acdb-11eb-86c9-0c26df6031bf.png";>
   
   Thoughts?
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to