Search and Top Navigation
#15320 new bug ()
Opened November 05, 2018 07:04PM UTC
Last modified November 05, 2018 07:04PM UTC
"VoiceOver" does not read options when list of options is visible in Safari
Reported by: | poddliza | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | none |
Component: | ui.core | Version: | 1.12.1 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
"VoiceOver" does not read options when list of options is visible in Safari.
Seems that select menu needs to have different "role" attribute. Currently it is a "combobox" role but it's not always appropriate. It is only appropriate when we style some input fields that have dropdown list.
Example:
https://webkit.org/blog-files/aria1.0/combobox_with_live_region_status.html
However if we style regular "select" we need to have the role "listbox".
I used the following workaround for the issue :
1. Change role to "listbox"
2. Added appropriate aria-selected attribute (aria-selected="true/false") to each option and triggered its value when focus moves to another option.
3. In addition all other aria attributes should be changed to match the "listbox" role