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

enh(breadcrumbs): changed aria label for voice control on a-tag #4973

Merged
merged 1 commit into from Dec 19, 2023

Conversation

emoral435
Copy link
Contributor

☑️ Resolves nextcloud/server#42265

🖼️ Screenshots

🏚️ Before 🏡 After
image image

🚧 Tasks

Changed components aria label to better represent the content of the span for screen readers

🏁 Checklist

  • ⛑️ Tests are included or are not applicable (not applicable)
  • 📘 Component documentation has been extended, updated or is not applicable (not applicable)

@emoral435 emoral435 self-assigned this Dec 19, 2023
@emoral435 emoral435 added 3. to review Waiting for reviews accessibility Making sure we design for the widest range of people possible, including those who have disabilities labels Dec 19, 2023
Copy link
Contributor

@ShGKme ShGKme left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Setting aria-label works as a part of setting $attrs via linkAttributes. Extra aria-label is set on the server: https://github.com/nextcloud/server/blob/6fa377e90e269b1610aab2b40bba3e3ab78f0b4b/apps/files/src/components/BreadCrumbs.vue#L6

It should also be fixed on the server so incorrect aria-label is not set there.

src/components/NcBreadcrumb/NcBreadcrumb.vue Outdated Show resolved Hide resolved
Signed-off-by: Eduardo Morales <emoral435@gmail.com>
@emoral435 emoral435 force-pushed the fix/aria-breadcrumbs-voice-control branch from cd3e18b to 48bc60f Compare December 19, 2023 14:16
@emoral435
Copy link
Contributor Author

Updated this PR, making a PR for the server repository as well 😃

@emoral435 emoral435 merged commit c8da0f4 into master Dec 19, 2023
15 checks passed
@emoral435 emoral435 deleted the fix/aria-breadcrumbs-voice-control branch December 19, 2023 16:13
@ShGKme ShGKme added bug Something isn't working feature: breadcrumbs Related to the breadcrumbs components labels Dec 22, 2023
@ShGKme ShGKme added this to the 8.4.0 milestone Dec 22, 2023
@ShGKme
Copy link
Contributor

ShGKme commented Dec 22, 2023

Remember to add enhancement label for new features and bug for fixing bugs, including accessibility or adjustments 😀

@ShGKme ShGKme mentioned this pull request Dec 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews accessibility Making sure we design for the widest range of people possible, including those who have disabilities bug Something isn't working feature: breadcrumbs Related to the breadcrumbs components
Projects
None yet
3 participants