Skip to content

A11y fix: make sure "+" button can be focused in wiki sidebar

Chad Lavimoniere requested to merge 20240523-cl-wiki-sidebar-add-child-a11y into master

What does this MR do and why?

Change the logic to show the "+" button used for adding a child page so that a keyboard user can navigate to it.

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Before After
Screen_Recording_2024-05-23_at_13.38.16 Screen_Recording_2024-05-23_at_13.34.47

How to set up and validate locally

  1. Check out this branch
  2. Navigate to a wiki edit page in the GDK
  3. Click near the top of the Pages sidebar (do not click anything clickable, you're just clicking to move focus to that area)
  4. Use the Tab key to mov focus through the tree of pages. You will see that you are able to move focus to the "+" button for adding a new child page.

Related to #452225

Merge request reports