blockly-samples icon indicating copy to clipboard operation
blockly-samples copied to clipboard

Fixed Blockly demo - axe-devtools - Elements must only use permitted ARIA attributes

Open kburk1997 opened this issue 2 years ago • 0 comments

Check for duplicates

  • [X] I have searched for similar issues before opening a new one.

Description

Running axe-devtools produces the following error when running automated accessibility checks:

Elements must only use permitted ARIA attributes

Ensures ARIA attributes are not prohibited for an element's role

Issue info

Element Location: .injectionDiv

<div class="injectionDiv geras-renderer classic-theme" tabindex="0" aria-label="Blockly Workspace" dir="LTR">

To solve this problem, you need to fix the following: aria-label attribute cannot be used on a div with no valid role attribute.

Reproduction steps

  1. Go to Blockly Fixed Demo
  2. Run axe-devtools chrome extension

Stack trace

No response

Screenshots

Screenshot of blockly div reproducing axe-devtools error

Screenshot of axe-devtools error described in issue body

Browsers

No response

kburk1997 avatar Oct 06 '23 14:10 kburk1997