-
-
Notifications
You must be signed in to change notification settings - Fork 6.9k
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
[Bug Report][3.3.10] VListItem missing anchor title #17908
Comments
I brought this up when we added the title prop, if you want title as an attribute you have to use |
Add it to the docs |
@KaelWD thanks for the suggestion. However, it seems that |
Problem to solve
Similar to
VBtn
andVTab
,VListItem
can be used as an anchor. Due to the fact thattitle
is already used as a prop for the component, it can't be used as an anchor title, thus limiting accessibility and SEO.Proposed solution
Define another prop for
VListItem
, e.g.linkTitle
oranchorTitle
and assign its value to the tag'stitle
property (when the component is rendered as a link).Accepted solution
Use item's
title
prop instead, see discussion for further details.The text was updated successfully, but these errors were encountered: