[Adaptive Cards - Designer] - Ensures ARIA attributes are not prohibited for an element's role (.acd-peer[title="Double click to edit"][aria-label="TextBlock"]:nth-child(2)) #9033
Labels
A11yAuto
For the AI Tool bug
A11yCT
For CT Test Pass
A11ySev3
Accessibility issue with severity 3
A11yWCAG
Accessibility issue that affects compliance
Area-Accessibility
Bugs around feature accessibility
Area-Renderers
Bug
HCL-AdaptiveCards-Web
Used by accessibility team for scorecard categorization
HCL-E+D
Product-AC
Target Platforms
Other
SDK Version
1.6
Application Name
Adaptive Cards
Problem Description
Test Environment:
URL: https://adaptivecards.io/samples/ProductVideo.html
OS Version: 22H2(OS Build 25300.1000)
Browser Version: Edge Dev Version 111.0.1661.36 (Official build) dev (64-bit)
Tool: Accessibility Insight For Web
Repro Steps:
Actual Result:
ARIA attributes are prohibited for an element's role (.acd-peer[title="Double click to edit"][aria-label="TextBlock"]:nth-child(2))
Expected Result:
Ensures ARIA attributes are not prohibited for an element's role (.acd-peer[title="Double click to edit"][aria-label="TextBlock"]:nth-child(2))
Element path: .acd-peer[title="Double click to edit"][aria-label="TextBlock"]:nth-child(2)
Snippet:
How to fix:
Fix all of the following:
aria-label attribute cannot be used on a div with no valid role attribute.
User Impact:
It will impact the AT user if the ARIA attributes are prohibited for any controls on the screen.
WCAG Reference:
https://www.w3.org/WAI/WCAG21/Understanding/name-role-value
Have feedback to share on Bugs? please tag bug as “A11yRCA” and add your feedback in the comment section
Screenshots
Card JSON
NA
Sample Code Language
No response
Sample Code
No response
The text was updated successfully, but these errors were encountered: