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

Add missing accessibility attributes in the svg icons #20538

Conversation

donmhico
Copy link
Contributor

@donmhico donmhico commented Feb 28, 2020

Closes #20466.

Description

This PR adds role="img" aria-hidden="true" focusable="false" attributes in all of the available Social Icons in Social Icons Block.

Screenshots

Kapture 2020-02-29 at 0 56 11

Types of changes

Bug fix.

Checklist:

  • [ X ] My code is tested.
  • [ X ] My code follows the WordPress code style.

@donmhico donmhico requested a review from mkaz as a code owner February 28, 2020 17:08
@jorgefilipecosta jorgefilipecosta added the Backport to WP 6.7 Beta/RC Pull request that needs to be backported to the WordPress major release that's currently in beta label Mar 1, 2020
Copy link
Member

@jorgefilipecosta jorgefilipecosta left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The change looks good in my tests. @mcsf I'm planning on including this PR as part of the next WordPress RC could you double-check if it is ok to backport the PR?

@jorgefilipecosta jorgefilipecosta merged commit 035fce1 into WordPress:master Mar 1, 2020
@afercia
Copy link
Contributor

afercia commented Mar 2, 2020

@donmhico thanks! 🎉

@jorgefilipecosta thanks for including this in the WP 5.4 "must have".

@youknowriad youknowriad added [Type] Bug An existing feature does not function as intended [Block] Social Affects the Social Block - used to display Social Media accounts labels Mar 2, 2020
@jorgefilipecosta jorgefilipecosta removed the Backport to WP 6.7 Beta/RC Pull request that needs to be backported to the WordPress major release that's currently in beta label Mar 3, 2020
@youknowriad youknowriad added this to the Gutenberg 7.7 milestone Mar 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] Social Affects the Social Block - used to display Social Media accounts [Type] Bug An existing feature does not function as intended
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Social icons in the front end miss the accessible attributes
5 participants