Skip to content
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.7.0] aria-current="page" should be defined on active links in addition to active classes #20399

Closed
paul-thebaud opened this issue Aug 26, 2024 · 0 comments · Fixed by #20413 or con-cis/mc-docu#48 · May be fixed by mygivvara/codex#5 or aurelienfvre/sae401#1
Labels
a11y Accessibility issue T: bug Functionality that does not work as intended/expected
Milestone

Comments

@paul-thebaud
Copy link
Contributor

Environment

Vuetify Version: 3.7.0
Vue Version: 3.4.38
Browsers: Chrome 128.0.0.0
OS: Linux x86_64

Steps to reproduce

Create two links inside a project using Vuetify and Vue Router while being on home page:

  • <router-link to="/">Home</router-link>
  • <v-btn to="/">Home</v-btn>

Expected Behavior

Both links should get the aria-current="page" attribute.

Actual Behavior

Only router-link is getting the aria-current="page" attribute.

Reproduction Link

https://play.vuetifyjs.com/#...

Other comments

I know reproduction does not show the problem because no vue router is defined.
I'm sorry I didn't had the time to setup a real repo.

@vuetifyjs vuetifyjs deleted a comment from Lxx-c Aug 26, 2024
paul-thebaud added a commit to paul-thebaud/vuetify that referenced this issue Sep 2, 2024
paul-thebaud added a commit to paul-thebaud/vuetify that referenced this issue Sep 2, 2024
paul-thebaud added a commit to paul-thebaud/vuetify that referenced this issue Sep 2, 2024
@KaelWD KaelWD added T: bug Functionality that does not work as intended/expected a11y Accessibility issue labels Sep 3, 2024
@KaelWD KaelWD added this to the v3.7.x milestone Sep 3, 2024
@github-actions github-actions bot removed the S: triage label Sep 3, 2024
KaelWD added a commit that referenced this issue Sep 3, 2024
closes #20399

Co-authored-by: Kael <kaelwd@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a11y Accessibility issue T: bug Functionality that does not work as intended/expected
Projects
None yet
2 participants