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

Remove role="button" from header button #1589

Merged
merged 2 commits into from
Sep 24, 2019

Conversation

NickColley
Copy link
Contributor

@NickColley NickColley commented Sep 23, 2019

Since the HTML5 button element has the role of button already setting the role attribute to button is not necessary.

Fixes #1588

@NickColley NickColley added this to the Next milestone Sep 23, 2019
@govuk-design-system-ci govuk-design-system-ci temporarily deployed to govuk-frontend-review-pr-1589 September 23, 2019 16:20 Inactive
Since the HTML5 button element has the role of button already setting the role attribute to button is not necessary.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Development

Successfully merging this pull request may close these issues.

HTML validation error: "The button role is unnecessary for element button."
4 participants