Metadata
- Source
- FLUID-6011
- Type
- Bug
- Priority
- Blocker
- Status
- Closed
- Resolution
- Fixed
- Assignee
- N/A
- Reporter
- Justin Obara
- Created
2016-10-28T09:09:57.762-0400 - Updated
2019-07-12T09:16:36.619-0400 - Versions
- N/A
- Fixed Versions
-
- 2.0
- Component
-
- Table of Contents
Description
Currently the ToC component searches for all the headings on the page and inserts an empty link before it to be used as an in page anchor. Additionally it makes use of the name attribute on these links to create the anchor. Instead we should make use of an ID on the heading for this purpose instead.
The current implementation is both an HTML validation warning ( use of name ) and an accessibility issue ( empty anchors ).