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

Presets Panel: Label has no corresponding input #5445

Open
derekjackson-das opened this issue Jan 24, 2025 · 0 comments
Open

Presets Panel: Label has no corresponding input #5445

derekjackson-das opened this issue Jan 24, 2025 · 0 comments
Labels
a11y Accessibility

Comments

@derekjackson-das
Copy link
Collaborator

derekjackson-das commented Jan 24, 2025

Issue Description

The label in the modal that holds the text has no corresponding input and is not labeling a form element.

WCAG Criteria

1.3.1 Info and Relationships - A

Notes

This would be better as just text in the dialog window. There is no need for it to be a label because there are no form controls/elements that the label is naming.

Derived from #5187.

Relevant Code

<label for="default-preset" class="w-40 truncate rounded bg-transparent py-1 text-xs font-medium text-gray-600 transition-colors dark:bg-transparent dark:text-gray-300 sm:w-72">No default preset active.</label>

Screenshot

screenshot showing the accessibility tree and identifying the text as a label with no corresponding input or form element
@derekjackson-das derekjackson-das changed the title Label in the modal has no corresponding input in the Presets Panel Label has no corresponding input in the Presets Panel Jan 24, 2025
@danny-avila danny-avila added the a11y Accessibility label Jan 24, 2025
@derekjackson-das derekjackson-das changed the title Label has no corresponding input in the Presets Panel Presets Panel: Label has no corresponding input Jan 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a11y Accessibility
Projects
None yet
Development

No branches or pull requests

2 participants