cds-snc / resources-ressources

Learning Resources / Ressources d'apprentissage
MIT License
3 stars 1 forks source link

Unexpected tabbing order between menu and language switcher #269

Closed anikbrazeau closed 1 year ago

anikbrazeau commented 1 year ago

Describe the bug When clicking through the "Topics" menu, the first item that gets focus is "Français" which is outside the menu.

To Reproduce Steps to reproduce the behavior:

  1. Go to staging.
  2. Tab through elements with keyboard.
  3. Click 'Enter' when get to 'Topics' menu.
  4. Tab again.

Expected behavior Go through elements in menu sequentially. Ideally, focuses on 'Agile', 'Design', 'Hiring', and 'UX research' before 'Français'

Screenshots

Screen Shot 2022-09-28 at 10 54 01 PM

Desktop (please complete the following information):

Additional context Found during manual a11y checks with keyboard.

Done when: The behaviour matches the expected behaviour

realdylanzheng commented 1 year ago

Issue has been fixed in staging