mirror of https://github.com/zulip/zulip.git
3dfaca0773
This refactors popover list structure to use a flattened `ul > li` structure along with aria-related additions, enabling screen reader accessibility and announcing menu length and position (`# of n`). Added ARIA roles: - `role="menu"` to the parent `<ul>` element, indicating it is a widget offering a list of choices. - `role="menuitem"`, `role="menuitemcheckbox"`, or`role="menuitemradio"` to child elements based on their function. - `role="group"` to the theme switcher, identifying it as a container for related menu items. - `role="none"` to `<li>` elements, removing the implied `listitem` role that conflicts with the parent menu structure. |
||
---|---|---|
.. | ||
compose_control_buttons | ||
emoji | ||
left_sidebar | ||
navbar | ||
user_card | ||
change_visibility_policy_popover.hbs | ||
message_actions_popover.hbs | ||
mobile_message_buttons_popover.hbs | ||
playground_links_popover.hbs | ||
send_later_popover.hbs | ||
user_group_info_popover.hbs |