Subsections creating unwanted anchor tags

Created on 11 September 2024, 17 days ago

Problem/Motivation

While adding subsections to ptoc containers. They are creating some unwanted anchor tags in the source code. Which makes it difficult for screen readers and failed accessibility tests.

Steps to reproduce

Add a container and add a title. Now to the same container add different subsections. For example

Title container

subsection 1
subsection 2
subsection 3

Now click save. Page will work fine for normal users. Now try clicking on tab. Actually it hovers over same title for 3 times. Then i inspected the source code was able to see 3 anchor tags

Empty link: any time a subsection is created in the page contents component 3 empty links get added so it's a bug that just needs fixing so the empty links don't appear .

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇮🇳India rifas-ali-pbi Kerala

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024