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

a11y: Button widget accessibility #3271

Merged
merged 1 commit into from
Jan 22, 2018
Merged

Conversation

ramiy
Copy link
Contributor

@ramiy ramiy commented Jan 21, 2018

Description

The button widget need some accessibility love!

Currently the button wrapper is an <a> tag. We can either replace it with a <button>, but it can cause UI issues in some sites that has custom CSS for the button tag. The second approach is to add role="button" to the <a> tag.

@ramiy ramiy changed the title a11y: Button widget accessibility a11y: add role="button" to the button widget Jan 21, 2018
@ramiy ramiy changed the title a11y: add role="button" to the button widget a11y: Button widget accessibility Jan 21, 2018
@KingYes KingYes merged commit 9479c1b into elementor:release/2.0.0 Jan 22, 2018
@ramiy ramiy deleted the a11y-button branch January 22, 2018 14:04
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.

2 participants