Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

{Linked:Bug11089146} [Adaptive Cards > Designer] - Narrator is announcing incorrect state as expanded for the expand/ collapse buttons when they are in collapsed state. #8701

Closed
vagpt opened this issue Oct 6, 2023 · 3 comments
Labels
A11ySev2 Accessibility issue with severity 2. This may impact the accessibility score A11yTTValidated 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

Comments

@vagpt
Copy link
Collaborator

vagpt commented Oct 6, 2023

Target Platforms

Other

SDK Version

1.6

Application Name

Adaptive cards

Problem Description

Test Environment:
URL: https://adaptivecards.io/explorer/Action.ToggleVisibility.html
OS Version: 23H3(OS Build 25951.1010)
Browser Version: Edge Dev 117.0.2033.0
Screen Reader: Narrator

Pre-Requisite:
Run the below attached JSON file under 'Copy Card Payload editor.'

Repro Steps:

  1. Open the above URL on the EDGE Dev browser.
  2. Run the Json file.
  3. Navigate to the Preview mode and press enter key to activate it.
  4. Navigate the screen and observe the issue.

Actual Result:
Narrator announces incorrect state as expanded for the expand/ collapse buttons when they are in collapsed state.
Narrator is announcing as Expand Items button expanded, button expanded'.

Expected Result:
Narrator should announce the correct state as collapsed for the expand/ collapse buttons when they are in collapsed state.
Narrator should announce as ' Line Items button Collapsed, Edit Additional Details button collapsed'.

Note:
Same issue is repro with NVDA screen reader as well.

User Impact:
Visually challenged users who rely on screen readers are getting impacted, as Narrator is announcing incorrect state as expanded for the expand/ collapse buttons when they are in collapsed state.

WCAG Reference:
https://www.w3.org/TR/WCAG21/#name-role-value

Have feedback to share on Bugs? Please help fill Trusted Tester Bug Feedback (office.com)"

Screenshots

WCAG4.1.2-.Narrator.is.announcing.incorrect.state.as.expanded.for.the.expand.collapse.buttons.when.they.are.in.collapsed.state.mp4

WCAG4 1 2- Narrator is announcing incorrect state as expanded for the expand collapse buttons when they are in collapsed state

Test JSON.docx

Card JSON

Attached in Screenshot section.

Sample Code Language

No response

Sample Code

No response

@vagpt vagpt added Bug Area-Renderers Area-Accessibility Bugs around feature accessibility A11ySev2 Accessibility issue with severity 2. This may impact the accessibility score A11yWCAG Accessibility issue that affects compliance HCL-E+D Product-AC HCL-AdaptiveCards-Web Used by accessibility team for scorecard categorization labels Oct 6, 2023
@vagpt
Copy link
Collaborator Author

vagpt commented Oct 6, 2023

This bug can be originally tracked using below URL.

https://dev.azure.com/microsoftit/OneITVSO/_workitems/edit/11089146

@anna-dingler
Copy link
Contributor

Hi @vagpt,

This expand/collapse button is using Action.ToggleVisibility which is a deprecated feature. To get the expected behavior, Action.ShowCard should be used.

Alternatively, the Narrator is currently announcing the altText of the image. The card author could also manually update the expand/collapse text here when the button is clicked (although switching to Action.ShowCard is recommended).

Let me know if this doesn't solve your issue!
Anna

@vagpt
Copy link
Collaborator Author

vagpt commented Dec 6, 2023

Adding A11yTTValidated as per the above comment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A11ySev2 Accessibility issue with severity 2. This may impact the accessibility score A11yTTValidated 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
Projects
Status: Closed
Development

No branches or pull requests

2 participants