Skip to content

A11Y - Investigation - Cannot tab into Submenu items from split button in table (line 99) #21289

Closed

Description

@arlentees
  • Identify component in use
  • Document all instances across the UI in the application
  • Apply fix(es)
  • Verify using WAVE chrome plugin

Documentation: Fixing Accessibility Navigation for v-menu Options

Issue:
Users were unable to navigate through v-menu options using the tab and arrow keys once the menu was expanded.

Investigation and Findings:
Upon investigation, it was found that the v-list-item elements within the v-menu were not bound with an event. This lack of binding caused the up and down arrow keys to fail in navigating through the options. Specifically, the event was bound to the v-list-item-subtitle, which interfered with the expected keyboard navigation behavior.

Resolution:
The issue was resolved by ensuring that the event binding was applied directly to the v-list-item rather than the v-list-item-subtitle. This change restored the correct functionality, allowing users to navigate through the v-menu options using the arrow keys.

Next Steps:
To prevent similar accessibility issues across the application, the following steps should be taken:

Audit: Identify all locations where v-list-items within v-menus are bound to events that are not bound to the v-list-item.
Refactor: Adjust the event bindings to ensure they are applied to the v-list-item directly.

Test: Verify that the keyboard navigation works correctly for all instances of v-menu options post-fix.

Conclusion:
Fixing the event binding for the v-list-item within the v-menu has resolved the navigation issue for this specific instance. A comprehensive review and refactor of similar bindings across the codebase will ensure consistent accessibility improvements for all v-menu components.

Vuetify A11y reference that helped in solving why the navigation wasn't working:
https://vuetifyjs.com/en/features/accessibility/#activator-slots

Activity

  1. changed the title [-]A11Y - Cannot tab into Submenu items from split button in table (line 99)[/-] [+]A11Y - SPIKE - Investigation - Cannot tab into Submenu items from split button in table (line 99)[/+] on Jun 6, 2024
  2. self-assigned this
    on Jun 13, 2024
  3. changed the title [-]A11Y - SPIKE - Investigation - Cannot tab into Submenu items from split button in table (line 99)[/-] [+]A11Y - Investigation - Cannot tab into Submenu items from split button in table (line 99)[/+] on Jun 14, 2024
  4. cameron-eyds commented on Jun 14, 2024

    @cameron-eyds
    Contributor

    @arlentees @chdivyareddy
    As mentioned in standup, going to convert this spike into a dev task to fix the implementations documented above! Have slightly increased the estimate to account for the additional work and testing. If you feel we need to increase further Divya, please let me know. The testing isn't anything out of the norm and i can describe the changes once complete.
    The changes are quite small and I don't foresee much impact here!

  5. chdivyareddy commented on Jun 14, 2024

    @chdivyareddy
    Collaborator

    @cameron-eyds , Thanks for the information and the estimation sounds good to me as well, no changes required!

  6. cameron-eyds commented on Jun 17, 2024

    @cameron-eyds
    Contributor

    @saragunnarsson
    Good morning Sara! This ticket didn't have a UXA label but just tagging you in the event you wanted to have a look as these as well, as you are involved with the A11y stuff :)
    Let me know what you think!

    The caveat with the navigation is tabbing will only take you onto the main menu activator, once the menus (drop downs) you need to use the up/down arrows to navigate the menu options etc.

  7. saragunnarsson commented on Jun 17, 2024

    @saragunnarsson

    @cameron-eyds Awesome I'll take a look! Only being able to navigate with the arrow keys is how it should work, so that's great! That way the user can decide if they want to enter the menu or skip it.

  8. chdivyareddy commented on Jun 21, 2024

    @chdivyareddy
    Collaborator

    @cameron-eyds As mentioned, Safari browser isn't functioning as expected, and the MHR search list isn't functioning for all the browsers when tabbing other than that everything looks good. Please take a look, thanks!

    • MHR search dropdown list tab functioning is not working as expected:

    Private Zenhub Video

    • Tab functionality in safari is not navigated to all the elements in the dashboard:

    Safari:

    Private Zenhub Video

    Vs Chrome

    Private Zenhub Video

  9. cameron-eyds commented on Jun 21, 2024

    @cameron-eyds
    Contributor

    @chdivyareddy Hey Divya, sounds good, will look into Safari!

    The Search Drop Downs however are selection lists and not the menus, which were the scope of this specific ticket just a heads up!

  10. chdivyareddy commented on Jun 21, 2024

    @chdivyareddy
    Collaborator

    @cameron-eyds thank you!

    Safari browser issue got resolved by modifying the browser settings. Moving this ticket to Done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions