• I am using the ToC plugin on a site that is required to maintain WCAG 2.1 compliance. When I run a page that has the TOC rendered through automated testing, I get the following alerts/warnings:

    – Use of an <i> tag as the icon instead of <span>
    – The header for the TOC is not using a heading tag.
    – Redundant link text (The link text is the exact same as the title attribute)
    – Uses the navigation landmark (<nav>) in the contents without a name making it indistinguishable from existing landmarks.

    These were obtained using the WAVE and SiteImprove browser extensions for Chrome.

    Thank you in advance for any support you can provide.

Viewing 1 replies (of 1 total)
  • I agree that the title attributes on the links are unnecessary. WordPress removed adding title attributes to links in version 4.2.

    There’s another problem with the icon link to show and hide text – it’s not keyboard accessible. I’ve tried tabbing through the links on the page and it’s skipped.

Viewing 1 replies (of 1 total)
  • The topic ‘Accessibility Requirements’ is closed to new replies.