-
Notifications
You must be signed in to change notification settings - Fork 36
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 title to truncated links #1505
Conversation
@@ -31,6 +31,11 @@ | |||
{% endif %} | |||
{% endblock %} | |||
|
|||
{% block breadcrumb_content %} | |||
{{ super.super() }} | |||
<li class="active"><a href="" title="{{ h.resource_display_name(res) }}">{{ h.resource_display_name(res)|truncate(80) }}</a></li> |
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.
AFAIK <a>
tags without an href are bad for a11y. Are we allowed to add a title to another type of tag?
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.
I think you can do javascript void into the href to fix the a11y complaints.
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.
Also put tabindex="-1"
to prevent tabbing
No description provided.