You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Dropdown component contains a ul with role="listbox". The expectation for the native HTML element is that direct descendants of the element should be li elements. The expectation for the listbox role is that direct descendants should have role="option".
Actual Behavior and Screenshots
Current structure has an additional div within the hierarchy:
Remove the extra div. Also semantically the use of ul and li have no meaning because they are overridden using the role attribute, so an alternative option is to move the role=listbox to the offending div.
The text was updated successfully, but these errors were encountered:
Expected Behavior or Possible Solution
The Dropdown component contains a
ul
withrole="listbox"
. The expectation for the native HTML element is that direct descendants of the element should beli
elements. The expectation for the listbox role is that direct descendants should haverole="option"
.Actual Behavior and Screenshots
Current structure has an additional
div
within the hierarchy:Specifications
Suggested fix
Remove the extra div. Also semantically the use of
ul
andli
have no meaning because they are overridden using the role attribute, so an alternative option is to move the role=listbox to the offending div.The text was updated successfully, but these errors were encountered: