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

small a11y fixes #20810

Draft
wants to merge 2 commits into
base: 5.x-dev
Choose a base branch
from
Draft

Conversation

luce-carevic
Copy link

@luce-carevic luce-carevic commented May 31, 2023

Description:

  1. There are many decorative icons in Matomo that are not hidden to assistive technologies.
image

Adding aria-hidden="true" on the tag will hide them.

  1. There are many tabindex with value different than 0 or -1.

You should not rely on value superior to 1 because the risk is high to mess with the keyboard navigation.

cf. https://www.tpgi.com/using-the-tabindex-attribute/

Review

@luce-carevic luce-carevic changed the title hide decorative icons small a11y fixes May 31, 2023
@sgiehl
Copy link
Member

sgiehl commented May 31, 2023

Hi @luce-carevic,
Thanks for providing this PR. In order to make a review and check if all tests would still pass the vue files would need to be build.
If you have installed Matomo locally in developer mode you can achieve that by running ./console vue:build

@github-actions
Copy link
Contributor

If you don't want this PR to be closed automatically in 28 days then you need to assign the label 'Do not close'.

@github-actions github-actions bot added the Stale The label used by the Close Stale Issues action label Jun 15, 2023
@sgiehl sgiehl added the Needs Review PRs that need a code review label Jul 10, 2023
@sgiehl
Copy link
Member

sgiehl commented Jul 10, 2023

@luce-carevic Thanks for providing this PR. The changes around aria-hidden="true" should all be fine. But removing the tabindex in all that places might actually make the tab navigation even worse.
I guess the current order of tabindex isn't very good and there is space for improvements, but not sure if simply removing them is the best choice.
Also the vue files would need to be built. For that you need to run a ./console vue:build and commit the compiled files.

@sgiehl sgiehl added Waiting for user feedback Indicates the Matomo team is waiting for feedback from the author or other users. and removed Needs Review PRs that need a code review Stale The label used by the Close Stale Issues action labels Jul 10, 2023
@github-actions
Copy link
Contributor

If you don't want this PR to be closed automatically in 28 days then you need to assign the label 'Do not close'.

@github-actions github-actions bot added the Stale The label used by the Close Stale Issues action label Jul 25, 2023
@luce-carevic
Copy link
Author

The tabindex are not useful here. The tab order will follow the order in the DOM.

I don't know how to do what you asked. Maybe I should make an issue instead of a PR?

@github-actions github-actions bot removed the Stale The label used by the Close Stale Issues action label Aug 5, 2023
@github-actions
Copy link
Contributor

If you don't want this PR to be closed automatically in 28 days then you need to assign the label 'Do not close'.

@github-actions github-actions bot added the Stale The label used by the Close Stale Issues action label Aug 20, 2023
@github-actions
Copy link
Contributor

github-actions bot commented Oct 1, 2023

This PR was last updated more than one month ago, maybe it's time to close it. Please check if there is anything we still can do or close this PR. ping @matomo-org/core-reviewers

@github-actions github-actions bot added the Stale for long The label used by the Close Stale Issues action label Oct 1, 2023
@michalkleiner michalkleiner marked this pull request as draft April 9, 2024 22:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Stale for long The label used by the Close Stale Issues action Stale The label used by the Close Stale Issues action Waiting for user feedback Indicates the Matomo team is waiting for feedback from the author or other users.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants