LIT-EIA / adapt-esdc-accessibilityfixes

Extension to load and run a .js file when a course loads
GNU General Public License v3.0
5 stars 2 forks source link

Component - Narrative - something with headings [OHS 2.10, 2.11] #143

Closed TimbroVince closed 1 year ago

TimbroVince commented 2 years ago

Impact on Learner:

When an assistive technology encounters an element with an invalid ARIA attribute value, it might ignore the attribute or respond to it in an unexpected way. As a result, people who use assistive technologies might find the element difficult or impossible to use.

Details, screenshots, coding:

n/a heading is given a ‘0’ in the heading field in Adapt for the component in Adapt. Should instead be given an (Aria) level 3 as it is a subsection of a heading level 2 section; H0 (zero) does not exist in html.

Vincent: Is there an issue with the script to proscribe heading levels or is it a mistake on the part of the designer?

https://accessibilityinsights.io/info-examples/web/aria-valid-attr-value/

TimbroVince commented 2 years ago

Impact on Learner: Having more than one H1 per page will confuse screen readers. The single H1 should concisely describe the overall purpose of the page content.

LIT-EIA-OWNER commented 2 years ago

This may already be fixed

Try adding and removing different headers (block /article) and then check if Aria-level of headers in Narrative component are correct

jonahxu commented 2 years ago

Everything seems good!