-
Notifications
You must be signed in to change notification settings - Fork 355
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
Accordion Example: Roles, States, and Properties table incorrectly says the header control uses an <a>
element
#475
Comments
@pudgereyem commented:
Victor, thank you for both catching this error and offering to help!! I haven't put this in the readme yet, but it is a good idea to raise an issue or comment in an issue, as you did, before going through the work of changing code and submitting a PR. That will help ensure you aren't working on something that someone else is already in the process of changing. It can also make sure that your fix is aligned with the spec, task force objectives, etc. That said, if you see anything in our current milestone
Excellent catch! |
<a>
element
Hey @mcking65, thanks for the warm welcome! I will definitely check out https://github.com/w3c/aria-practices/milestone/6, and see if I can be of any help. I'm not that "experienced" with a11y, so contributing to this project would be a great learning experience for me. Cheers! |
Fixed with 424facf. Thank you @pudgereyem! |
@mcking65 I'm using this issue to ask two questions.
Cheers! |
Issue
The Accordion Example uses
<button/>
, but the documentation tells us that it uses an<a/>
(anchor) elementSolution
Change the Documentation in https://github.com/w3c/aria-practices/blob/master/examples/accordion/accordion.html to use
<button>
instead of<a>
.Background / Discussion
I looked through the activity in this github project to understand the current status. Below is what I found. I wrote this down for myself to get a bit of context.
<button>
or<a>
element.<a>
element should be used<button>
element should be used<button>
componentThe text was updated successfully, but these errors were encountered: