Skip to content

Name a checkbox without a label by its accessible name - #362

Open
rezabakhshilaktasaraei wants to merge 1 commit into
desktop-app:masterfrom
rezabakhshilaktasaraei:checkbox-fallback-name
Open

Name a checkbox without a label by its accessible name#362
rezabakhshilaktasaraei wants to merge 1 commit into
desktop-app:masterfrom
rezabakhshilaktasaraei:checkbox-fallback-name

Conversation

@rezabakhshilaktasaraei

Copy link
Copy Markdown
Contributor

Checkbox::accessibilityName() returns the label text, so a checkbox or radio button created without one — the correct answer button beside a poll answer, where the answer stands for the label — had no name for a screen reader and no way to be given one. Fall back to the widget's accessible name when the label is empty. Labelled checkboxes are unchanged.

The name of a checkbox for a screen reader is its label, and a checkbox
created without one - beside a poll answer, where the answer stands for
the label - had no name at all, with no way to give it one. Fall back to
the widget's accessible name when the label is empty.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant