Skip to content

Keyboard navigation order for website navigation area #7058

@ravicodelabs

Description

@ravicodelabs

Bug description

Please refer to the live website here for an example: https://datascijedi.org/

Starting at the top left image (or starting with the navigation landmark), the screen reader flows from the JEDI Outreach Group image and heading, then skips all the way right to the search icon, and finally traverses the individual page navigation links. I think it would be better if the screen reader flowed to the page navigation links before the search icon, matching what is seen visually. Furthermore, the search icon takes three screen reader moves to get past (starting with entering a "combo box"), whereas only one would be ideal.

The skip to the search icon seems to be a result of the way Quarto is generating the HTML, and in particular, the ordering of the elements in the header.

Steps to reproduce

Any Quarto website with a header navigation with search icon should suffice, but you can use the JEDI Outreach Group website as a live example: https://datascijedi.org/

Expected behavior

  • The screen reader should flow left to right in the header navigation items.
  • The screen reader should only "stop" at the search icon once, rather than take three clicks to move past it.

Actual behavior

See bug description.

Your environment

Mac/Linux

Quarto check output

Quarto version: 1.4.388 (however, it also occurs on earlier versions)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions