Adaptivecards: [All][Accessibility] [Lack of accessibility support for error messages with the new Input feature]

Created on 13 Oct 2020  Â·  16Comments  Â·  Source: microsoft/AdaptiveCards

All platforms

  • [x] Android (#4958)
  • [x] iOS (#4966)
  • [x] UWP
  • [x] .NET WPF
  • [x] JS

Host

Microsoft Teams

Version of SDK

SDK version 2.1.0 (ACv1.3)

Details

reference #4913
When there are errors on the cards after pressing submit, failure to submit due to errors is not called to users. The user also not aware if there are multiple errors on the card. 
Proposed fix: Call out "There are errors within the card" 
Link to video

AdaptiveCards v20.10 Area-Accessibility Bug Msft-TeamsMobile MsftTeams-Integration Priority-Now Status-In Code Review Triage-Approved for Fix

All 16 comments

please review this issue for target Milestone, Inconsistencies & Priority upon triage.

@almedina-ms only for Android & 20.10 is TBD

@shalinijoshi19 @jwoo-msft this is a ring blocker on all platforms for us. Can it be picked up for other platforms too?

Hi @jwoo-msft. We have acknowledged this issue report. Please continue to follow this issue for updates/progress/questions.

Current status : P0's for Teams-impacting platforms needed for 20.10
[P0] - Android: @golddove working on changes.
[P0] - JS: @dclaux are you able to help out on this for JS?
[P0] - iOS: @jwoo-msft is this on your radar?
[P1] - UWP: @RebeccaAnne will need your help on this one and WPF to check out current state and changes that might be needed here
[P1] - WPF: @RebeccaAnne

Per discussion the other day, I believe we decided that moving the focus to the first error input and reading out that input's error would be our approach for this bug. @golddove can you confirm whether that solution is the official POR here? Is there another issue tracking that other than this one?

@shalinijoshi19 yes, this is the issue I will be tackling on Today.

@shalinijoshi19 @RebeccaAnne @golddove
There has been a concern that error message can not be controlled by Teams or host app.

The plan of action here is to get into a debugging session tomorrow AM with the India team - @golddove @RebeccaAnne
are you able to get on a call tomorrow pls? Ideally we'd like to go over the precise scenario, and go over our proposal to make sure it will work.

Per discussion the other day, I believe we decided that moving the focus to the first error input and reading out that input's error would be our approach for this bug.

That is already the way JS functions, and as @RebeccaAnne says was the plan per spec.

@RebeccaAnne

Correct, recent discussion resulted in the following resolutions:

1) When an Input receives focus, announce the input's label to screen readers. If the input has failed validation, append the error message to that announcement.

* Sample accessible text for an invalidated username input: "Username, Usernames may only contain alphanumeric characters, Input"

2) On submit, if an error is present, focus moves to the first invalid input.

@dclaux does JS currently announce error messages in this way?

Speclet referenced here https://github.com/microsoft/AdaptiveCards/pull/4929/ - The spec could do with some clarification btw on precisely the POA and moving down the rest of the options

Verified on JS. Works as expected.

Confirmed this also works as expected in UWP and .NET WPF.

Current status : P0's for Teams-impacting platforms needed for 20.10
[P0] - Android: In PR
[P0] - iOS: @jwoo-msft how are we tracking on this for iOS?
Thanks

@shalinijoshi19
it's almost done. I need to adjust 2-3 inputs before I can call it done.

Was this page helpful?
0 / 5 - 0 ratings