accessibility-insights-web icon indicating copy to clipboard operation
accessibility-insights-web copied to clipboard

<hx role="none"> is reported as heading.

Open shaminder1 opened this issue 1 year ago • 1 comments
trafficstars

Describe the bug

headings tag with role="none "are tagged as headings,

To Reproduce Steps to reproduce the behavior:

  1. Open Accessibility insights for web
  2. Turn on Headings in Adhoc Tools.
  3. Check if headings tag with role="none "are tagged as headings,

CodePen repro example

Expected behavior

Heading tags with role="none" should not be detected as programmatic headings.

Screenshots

image

Context (please complete the following information)

  • OS Name & Version: <NA>
  • AI-Web Version & Environment: Accessibility Insights for Web - Version 2.42.0 | Powered by axe-core 4.8.4>
  • Browser Version: Chrome Version 125.0.6422.142 (Official Build) (32-bit)
  • Target Page: <Any>

Are you willing to submit a PR?

NA

Did you search for similar existing issues?

No

shaminder1 avatar Jun 17 '24 09:06 shaminder1

By default screen readers treat content contained in as normal text (without any semantic meaning). But AI tool identifies the same as heading.

shaminder1 avatar Jun 17 '24 09:06 shaminder1

This is released in version 2.44.0

v-sharmachir avatar Nov 13 '24 12:11 v-sharmachir