canonical / canonical.com

Repository for the new version of canonical.com
Other
33 stars 66 forks source link

Implement keyboard navigation #1341

Closed petesfrench closed 1 month ago

petesfrench commented 1 month ago

Done

QA

Overview of expected behavior on DESKTOP: Escape - close all drop-downs Tab - go to next focus-able link. If it is the last item in the tab panel, jump inside the content panel. if it is the last item in the content panel, close all drop-downs and return focus to main navigation. Shift+Tab - It is the first item in a panel, close all drop-downs and return focus to main navigation

Overview of expected behavior on MOBILE: Escape - close all drop-downs Tab - go to next focus-able link. If it is the last link, loop back to the top of the list. Shift+Tab - go to next focus-able link. If it is the first link, loop back to the bottom of the list.

Issue / Card

Fixes https://warthogs.atlassian.net/browse/WD-12084

webteam-app commented 1 month ago

Demo

Jenkins

demos.haus

petesfrench commented 1 month ago

@britneywwc Thank you for volunteering to review!

akbarkz commented 1 month ago

@petesfrench Found one bug on big screen which can be reproduced as follows: