Skip to content
This repository has been archived by the owner on Jan 26, 2023. It is now read-only.

Add aria-hidden and role attributes to react component #194

Merged
merged 2 commits into from
Jun 6, 2017

Conversation

jasmussen
Copy link
Collaborator

This addresses an accessibility issue with the react component, by adding attributes aria-hidden="true" and role="img" to the component.

See also discussion in WordPress/gutenberg#1012 (review).

jasmussen added 2 commits June 6, 2017 09:36
This addresses an accessibility issue with the react component, by adding attributes aria-hidden="true" and role="img" to the component.

See also discussion in WordPress/gutenberg#1012 (review).
@jasmussen jasmussen self-assigned this Jun 6, 2017
@jasmussen jasmussen requested a review from field2 June 6, 2017 07:38
jasmussen added a commit to WordPress/gutenberg that referenced this pull request Jun 6, 2017
This PR adds aria-hidden="true" and role="img" to the SVG files inside the dashicons component, addressing feedback here: #1012 (comment)

Upstream PR: WordPress/dashicons#194

CC: @afercia
@field2 field2 merged commit 075d2d0 into master Jun 6, 2017
@field2 field2 deleted the add/aria-hidden branch June 6, 2017 10:35
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants