-
-
Notifications
You must be signed in to change notification settings - Fork 248
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support change the aria role of menu or menuitem. #115
Conversation
const domProps = { | ||
className, | ||
role: 'menu', | ||
'aria-activedescendant': '', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@fatelei Why do you remove this line?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
aria-activedescendant="" is an invalid value
@picodoth I will close this pr |
When menu is used with select support search mode
listbox
option
so that, the screen reader like
nvda
can read the item in option.Remove the aria-activedescendant
This attribute has no meaning in menu.
Ref