WordPress.org

Making WordPress.org

Opened 5 years ago

Closed 5 years ago

#687 closed defect (fixed)

Handbook Plugin table of contents/heading relationship

Reported by: joedolson Owned by: coffee2code
Milestone: Priority: normal
Component: Handbooks Keywords:
Cc:

Description

The Handbooks TOC generates a link pointing to the heading ID. Because the ID is attached to the heading, which is not focusable, this moves the visual focus, but not keyboard focus.

Solutions are either to move the ID from the heading to the associated anchor, or to add tabindex=-1 to the heading.

Change History (2)

#1 @samuelsidler
5 years ago

I think I'd prefer to add tabindex=-1 rather than moving the anchor around.

#2 @coffee2code
5 years ago

  • Owner set to coffee2code
  • Resolution set to fixed
  • Status changed from new to closed

In 949:

Handbook plugin: add tabindex=-1 to table of content headings to prevent disjoined visual/keyboard focus

fixes #687.
props joedolson.

Note: See TracTickets for help on using tickets.