AdaptiveCards icon indicating copy to clipboard operation
AdaptiveCards copied to clipboard

[Feature Request] Add aria-label, aria-labelledby labels to Action.submit, Textblock and other Adaptive card elements

Open StCross opened this issue 1 year ago • 1 comments

Problem Statement

It is found that users has no where to add self-defined aria-label, aria-labelledby labels to card elements. These labels are the reliable sources for the accessible names for screen readers.

Proposed solution

Add properties to Action.submit, Textblock and other necessary Adaptive card elements, to allow users define aria-label, aria-labelledby for front-end html of Adaptive card elements. Hence, Adaptive cards can be more accessible and readble.

Alternatives or Workarounds

No response

StCross avatar Sep 12 '23 08:09 StCross

This is a big limitation. Using the 'label' property on inputs I can label one input. This does not work when many inputs share the same label, such in a table where a column consists of inputs fields. An ideal solution would be to be able to refer to the same label (column name in the case of a table) from multiple inputs, in the vain of aria-labelledby.

jparta avatar Nov 24 '23 08:11 jparta