-
Notifications
You must be signed in to change notification settings - Fork 256
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
Modify G65 to support implementing current location in a breadcrumb trail as a link with aria-current="page"
#3948
Comments
The thing with techniques is though: not following the technique does not mean an authors necessarily fails the SC. Techniques are but one way of passing an SC. They're not comprehensive or complete, so the current G65 does not preclude authors from actually using So sure, G65 could be expanded to also show an example of this different approach (as both are valid for the purposes of the SC). Or a new technique could be created purely for the variant with link and |
seems G65 could just be modified a bit to allude to the fact that either are ok. |
Expand the examples for G65 'providing a breadcrumb trail' to acknowledge the fact that a breadcrumb's current location can be a hyperlink. closes #3948
That reminds me that I wrote a technique for |
Expand the examples/example descriptions for G65 'providing a breadcrumb trail' to acknowledge the fact that a breadcrumb's current location can be a hyperlink. closes #3948 --------- Co-authored-by: Giacomo Petri <[email protected]> Co-authored-by: Patrick H. Lauke <[email protected]> Co-authored-by: Kenneth G. Franqueiro <[email protected]>
The tests in G65: Providing a breadcrumb trail | WAI | W3C
prohibit authors from implementing the current location in a breadcrumb trail as a link.
This is a proposal to change the G65 tests so the current location can optionally be represented by a link with
aria-current="page"
by revising the check as follows:The revised technique could also reference the ARIA Authoring Practices Guide for a supporting example.
Why?
Rationale
The breadcrumb example in the ARIA Authoring Practices Guide
implements the current location as a link.
The APG task force recently became aware of this difference between the APG and WCAG technique when the task force received this issue --
Should the current location on a breadcrumb trail be an anchor element? · Issue #3047 · w3c/aria-practices
The APG task force chose to use a link for current location because:
aria-current
.If the current location is plain text, the meaning of the text depends entirely on the surrounding context. While that is not an unreasonable dependency, it is an unnecessary dependency for the breadcrumb pattern because the dependency can be removed by using a link with
aria-current
instead of plain text.The text was updated successfully, but these errors were encountered: