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

fix(inpage-navigation): Improve accessibility - FRONT-3660 #2568

Merged
merged 6 commits into from
Jun 21, 2022

Conversation

papegaill
Copy link
Contributor

No description provided.

@github-actions
Copy link

github-actions bot commented Jun 13, 2022

@@ -61,8 +63,7 @@
extra_classes: 'ecl-icon--rotate-180 ecl-inpage-navigation__trigger-icon',
} only %}
</button>
<ul class="ecl-inpage-navigation__list" aria-labelledby="ecl-inpage-navigation-trigger"
data-ecl-inpage-navigation-list="true" id="ecl-inpage-navigation-list">
<ul class="ecl-inpage-navigation__list" data-ecl-inpage-navigation-list="true" id="ecl-inpage-navigation-list">
Copy link
Contributor

Choose a reason for hiding this comment

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

we have an id here too, and another one for the trigger, which are hardcoded.
I would suggest to use the id you added in parameter in all cases, and add a suffix to it ("-title", "-list", "-trigger")

@papegaill papegaill merged commit c0f6fb1 into v3.4.0-dev Jun 21, 2022
@papegaill papegaill deleted the fix/FRONT-3660 branch June 21, 2022 11:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants