-
Notifications
You must be signed in to change notification settings - Fork 37
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 comment ARIA #56
base: master
Are you sure you want to change the base?
Add comment ARIA #56
Conversation
], | ||
"body": [ | ||
"role='comment'", | ||
"aria-details={$1}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this parts tough because the aria-details
actually should be located on role="mark"
<span role="mark" aria-details="thread-1">end of the guitar solo</span>, before fading away sharply.</p>
<div role="comment" id="thread-1" data-author="chris">
<h3>Chris said</h3>
<p class="comment-text">I really think this moment could use more cowbell.</p>
<p><time datetime="2019-03-30T19:29">March 30 2019, 19:29</time></p>
</div>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what we end up wanting is an id={} paired with role comment
and a description explaining that when you use role=comment you also should use role=mark
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated the changes! Let me know what you think!
What Changed
Added Comment ARIA
Why
Added for #50
Allowing developers to add an ARIA role for comments in their application.
Todo: