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

Used IconButton on breadcrumbs to increase accessibility. #6374

Merged
merged 1 commit into from Apr 27, 2018

Conversation

jorgefilipecosta
Copy link
Member

Description

This PR replaces the usage of Button + Dashicon with IconButton in order to increase accessibility. IconButton label is used as aria-label.
It looks like uid prop was passed to dashicon by mistake as the component does not do anything with this prop.

How has this been tested?

Add a paragraph inside a column, hover the paragraph and verify it is still possible to use the select parent button to select the parent block.

@jorgefilipecosta jorgefilipecosta self-assigned this Apr 24, 2018
@jorgefilipecosta jorgefilipecosta added [Type] Enhancement A suggestion for improvement. [Focus] Accessibility (a11y) Changes that impact accessibility and need corresponding review (e.g. markup changes). labels Apr 24, 2018
@jorgefilipecosta jorgefilipecosta force-pushed the update/used-icon-button-in-breadcrumbs branch from fe8cb22 to 506bf1a Compare April 26, 2018 11:43
@jorgefilipecosta jorgefilipecosta force-pushed the update/used-icon-button-in-breadcrumbs branch from 506bf1a to 27e119e Compare April 27, 2018 08:30
@jorgefilipecosta
Copy link
Member Author

I will make further changes in this area, so I'm merging this one to avoid conflicts. If there is any other improvement needed in this area, feedback is welcome and can be addressed in the follow-up PR's.

@jorgefilipecosta jorgefilipecosta merged commit 4b80d92 into master Apr 27, 2018
@jorgefilipecosta jorgefilipecosta deleted the update/used-icon-button-in-breadcrumbs branch April 27, 2018 09:13
@jorgefilipecosta jorgefilipecosta added this to the 2.8 milestone Apr 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Focus] Accessibility (a11y) Changes that impact accessibility and need corresponding review (e.g. markup changes). [Type] Enhancement A suggestion for improvement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant