[Select] How to work the aria-select #1737
-
Beta Was this translation helpful? Give feedback.
Answered by
benoitgrelard
Oct 21, 2022
Replies: 1 comment 1 reply
-
// `isFocused` caveat fixes stuttering in VoiceOver
aria-selected={isSelected && isFocused} What are you trying to test exactly? It sounds like your tests are way too low-level. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
JeanLiima
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
aria-selected
will be true only for the selected item when focused. This is to deal with some issues with VoiceOver.What are you trying to test exactly? It sounds like your tests are way too low-level.