Skip to content

SVG icons in buttons should be decorative#118

Open
riasvdv wants to merge 1 commit into
panphora:mainfrom
riasvdv:decorative-icons
Open

SVG icons in buttons should be decorative#118
riasvdv wants to merge 1 commit into
panphora:mainfrom
riasvdv:decorative-icons

Conversation

@riasvdv

@riasvdv riasvdv commented Jun 19, 2026

Copy link
Copy Markdown

A small accessibility improvement, SVG icons within the toolbar buttons should be hidden from assistive technologies.


Summary by cubic

Marks SVG icons in toolbar buttons as decorative by setting aria-hidden="true" and focusable="false" during sanitization, so screen readers ignore them and they aren’t focusable. Adds a test to enforce these attributes on all toolbar button SVGs.

Written for commit dd8a9c6. Summary will update on new commits.

Review in cubic

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