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[data-toggle="collapse"] #15987

Merged
merged 1 commit into from Mar 24, 2015
Merged

add role="button" to a[data-toggle="collapse"] #15987

merged 1 commit into from Mar 24, 2015

Conversation

cvrebert
Copy link
Collaborator

@cvrebert cvrebert commented Mar 3, 2015

Fixes #15972.
/to @patrickhlauke for review

@zacechola
Copy link

It doesn't matter either way, but I'm not sure the role attribute needs to be applied to the tests at all.

@patrickhlauke
Copy link
Member

Need to double-check with some colleagues (some of these ARIA things are a bit...contentious in some cases) to make sure it's right. Stay tuned...

@cvrebert cvrebert modified the milestones: v3.3.4, v3.3.5 Mar 15, 2015
@patrickhlauke
Copy link
Member

Sorry, late reply, but this LGTM (and I tend more towards having the tests reflect expected/proper markup as much as possible, so I'm cool with having the unit tests include the role="button" here too)

cvrebert added a commit that referenced this pull request Mar 24, 2015
add role="button" to a[data-toggle="collapse"]
@cvrebert cvrebert merged commit d37bc2a into master Mar 24, 2015
@cvrebert cvrebert deleted the fix-15972 branch March 24, 2015 15:57
@cvrebert cvrebert mentioned this pull request Mar 24, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

a[data-toggle="collapse"] also needs to have role="button"
3 participants