Open pauldcollins opened 7 years ago
aXe-core reports the same violation for the same reason. That attribute should not be there.
any progress on this issue?
Found this link may be useful: https://www.levelaccess.com/differences-aria-1-0-1-1-changes-rolecombobox/
Bug description:
Aria expanded false cannot be added to form inputs. It's reserved for certain roles, such as a
button
or a parentUL
on a list. Please see the following links that list the roles it can be used on: https://www.w3.org/WAI/GL/wiki/Using_the_WAI-ARIA_aria-expanded_state_to_mark_expandable_and_collapsible_regions#Description https://www.w3.org/TR/wai-aria/states_and_properties#aria-expandedCurrently the typeahead is breaking accessibility validation when used. The solution is to remove the attribute from the input field, as it isn't required.
Link to minimally-working plunker that reproduces the issue:
https://plnkr.co/edit/?p=preview
Steps to reproduce the issue:
aria-expanded="false"
OPTIONAL: To check with validation tools
[Severe] This element has an unsupported ARIA attribute (6)
and it lists each input field as being in error.Version of Angular, UIBS, and Bootstrap
Angular: 1.5.7
UIBS: 2.5.0
Bootstrap: 3.3.7