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

Tooltip - Provide a valid label for form fields - (2036570381) #5614

Closed
Tracked by #4599
dqateam opened this issue Oct 25, 2022 · 1 comment
Closed
Tracked by #4599

Tooltip - Provide a valid label for form fields - (2036570381) #5614

dqateam opened this issue Oct 25, 2022 · 1 comment
Labels
0 - new New issues that need assignment. a11y Issues related to Accessibility fixes or improvements. bug Bug reports for broken functionality. Issues should include a reproduction of the bug. needs triage Planning workflow - pending design/dev review.

Comments

@dqateam
Copy link
Collaborator

dqateam commented Oct 25, 2022

Module:

37 Tooltip

Violation:

Provide a valid label for form fields

WCAG Reference:

Instance ID:

2036570381

Severity:

10

Description:

[Issue]
There are buttons without accessible names. Examples include:

  • Tooltip
  • Close tooltip on click

[User Impact]
Screen reader users will be unable to determine the purpose of these buttons. Speech input users will have difficulty activating them.

[Code Reference]

<button aria-label="" class="content--slotted icon-start-empty icon-end-empty" type="button">
 (...)
</button>

Note:

[Suggestion]
Provide a valid label for form fields. This includes providing accessible names for buttons. The accessible name of a button can be set with an aria-label attribute. Good accessible names are both concise and descriptive.

[Compliant Code Example]

<button aria-label="tooltip" class="content--slotted icon-start-empty icon-end-empty" type="button">
 (...)
</button>

Media Type:

Forms

Additional Resources:

  • Report Source: Product accessibility evaluation conducted on the Calcite Design System in August, 2022.
@dqateam dqateam added 0 - new New issues that need assignment. a11y Issues related to Accessibility fixes or improvements. bug Bug reports for broken functionality. Issues should include a reproduction of the bug. needs triage Planning workflow - pending design/dev review. labels Oct 25, 2022
@geospatialem
Copy link
Member

The test didn't include a label prop on the button, but successfully passed in other tests. Marking as not an issue, and closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0 - new New issues that need assignment. a11y Issues related to Accessibility fixes or improvements. bug Bug reports for broken functionality. Issues should include a reproduction of the bug. needs triage Planning workflow - pending design/dev review.
Projects
None yet
Development

No branches or pull requests

2 participants