Skip to content

Conversation

@UjjawalPrabhat
Copy link
Contributor

@UjjawalPrabhat UjjawalPrabhat commented Jan 17, 2026

Requirements

  • This PR has a title that briefly describes the work done including the ticket number. If there is a ticket, make sure your PR title includes a conventional commit label. See existing PR titles for inspiration.
  • My work is based on designs, which are linked or shown either in the Jira ticket or the description below.
  • My work includes tests or is validated by existing tests.

Summary

This PR fixes an accessibility issue where Carbon's Switch component automatically adds redundant title attributes that duplicate the visible text, violating WCAG 2.4.4 guidelines and creating redundant announcements for screen reader users.

Screenshots

Before:

image

After:

image

Related Issue

O3-5042

Other

Related PR

@UjjawalPrabhat UjjawalPrabhat changed the title remove redundant title attributes from Switch components (fix) O3-5042: Remove redundant title attributes from Switch components Jan 17, 2026
@UjjawalPrabhat UjjawalPrabhat force-pushed the fix/O3-5042-title-attribute-accessibility branch from 2d17b1c to 23c7bdf Compare January 17, 2026 21:21
@UjjawalPrabhat
Copy link
Contributor Author

@denniskigen Could you please review this PR?

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