Skip to content

[feature] Add Alt-Text Tags to Resolve Critical WCAG Accessibility Issues in Web3Modal #2698

@yungzyad

Description

@yungzyad

What problem does this new feature solve?

Users that depend on assistive technologies like screen readers are unable to use Web3Modal since icon buttons and other UI elements lack alt-text tags. This minor fix will reduce barriers to entry for millions of web3 users!

See here for an accessibility report for the Web3Modal demo on lab.web3modal.com/library/wagmi-all/

Describe the solution you'd like

Add descriptive aria-label tags to icon buttons and other UI elements in Web3Modal, or another WCAG approved solution.

References to some of the offending UI elements:
Help Icon Button
https://github.com/WalletConnect/web3modal/blob/main/packages/scaffold-ui/src/partials/w3m-header/index.ts#L208
Close Icon Button
https://github.com/WalletConnect/web3modal/blob/main/packages/scaffold-ui/src/partials/w3m-header/index.ts#L165
Header Text
https://github.com/WalletConnect/web3modal/blob/main/packages/scaffold-ui/src/partials/w3m-header/index.ts#L184

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions