Skip to content
This repository was archived by the owner on Jul 9, 2025. It is now read-only.

Comments

a11y: restructure field labels for better a11y#2631

Merged
corinagum merged 3 commits intomasterfrom
beyackle/fieldLabelLabels
Apr 13, 2020
Merged

a11y: restructure field labels for better a11y#2631
corinagum merged 3 commits intomasterfrom
beyackle/fieldLabelLabels

Conversation

@beyackle
Copy link
Contributor

@beyackle beyackle commented Apr 13, 2020

Description

This change adjusts FieldLabel.tsx so the SR reads out a sensible label for a field when it ought to and the a11y checker doesn't complain about fields without labels (this used to happen because the "aria-labelledby" attribute referred to an object which only existed while the tooltip was open).

Task Item

closes #2063
closes #2122

Screenshots

SR: "Entities: Required entities - group."
image

(tab)

SR: "Form editor - new value - edit."
image

@github-actions
Copy link

Coverage Status

Coverage remained the same at 41.162% when pulling 2017493 on beyackle/fieldLabelLabels into f3580ec on master.

@corinagum corinagum self-assigned this Apr 13, 2020
Copy link
Contributor

@corinagum corinagum left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@corinagum corinagum merged commit 6fee09b into master Apr 13, 2020
@corinagum corinagum deleted the beyackle/fieldLabelLabels branch April 13, 2020 22:19
lei9444 pushed a commit to lei9444/BotFramework-Composer-1 that referenced this pull request Jun 15, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants