gravity-ui / uikit

Home Page:https://gravity-ui.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Element with role "listitem" uses "aria-selected" attribute

Kyzyl-ool opened this issue · comments

Maybe one should use "option" role instead of "listitem"? Or not to use "aria-selected" in list: https://preview.gravity-ui.com/uikit/?path=/story/components-data-display-list--default

ARIA attribute is not allowed: aria-selected="false"

See all allowed role for aria-selected here: https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-selected