Skip to content

a11y: Button widget accessibility#3271

Merged
KingYes merged 1 commit intoelementor:release/2.0.0from
ramiy:a11y-button
Jan 22, 2018
Merged

a11y: Button widget accessibility#3271
KingYes merged 1 commit intoelementor:release/2.0.0from
ramiy:a11y-button

Conversation

@ramiy
Copy link
Copy Markdown
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