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 role="button" to <a> buttons #10112

Merged
merged 2 commits into from
Aug 24, 2013
Merged

Add role="button" to <a> buttons #10112

merged 2 commits into from
Aug 24, 2013

Conversation

kevinSuttle
Copy link

These should really be <button> elements, but until that gets squared away, this will suffice.

@cvrebert
Copy link
Collaborator

I don't think it's gonna get "squared away".

@kevinSuttle
Copy link
Author

Accessibility > CSS > JavaScript. With now 1%+ of the web using Bootstrap, this argument is only going to get louder and more frequent. Better to deal with it now than later.

@mdo
Copy link
Member

mdo commented Aug 24, 2013

These should really be elements

Not every one of those are form or JavaScript actions—many are destinations, thus they need to stay anchor tags. I've turned what I could find into regular <button> elements though in ab3e176 and c0b00f2.

Would you might pull and updating?

Kevin Suttle added 2 commits August 24, 2013 16:29
These should really be <button> elements, but until that gets squared away, this will suffice.
Missed the <a class="btw" in my regex search
@kevinSuttle
Copy link
Author

OK, updated, but not seeing it reflected in this PR. I see your edits in my branch though.
https://github.com/kevinSuttle/bootstrap/tree/button-roles

I think it's good to go?

mdo added a commit that referenced this pull request Aug 24, 2013
Add role="button" to <a> buttons
@mdo mdo merged commit 26eb9f3 into twbs:master Aug 24, 2013
@mdo mdo mentioned this pull request Aug 24, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants