Making WordPress.org

Opened 9 years ago

Closed 9 years ago

#687 closed defect (bug) (fixed)

Handbook Plugin table of contents/heading relationship

Reported by: joedolson's profile joedolson Owned by: coffee2code's profile 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
9 years ago

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

#2 @coffee2code
9 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.