Skip to content

Conversation

@BrianRid
Copy link
Contributor

@BrianRid BrianRid commented Jul 26, 2023

Hello team, 



A small addition to the Tab component in order to activate keyboard navigation to fit accessibility requirements.



I applied a similar logic from this file : https://github.com/GouvernementFR/dsfr/blob/main/src/component/tab/script/tab/tabs-group.js

Hope this will meet the standards

sbourdon13 pushed a commit to sbourdon13/react-dsfr that referenced this pull request Aug 11, 2023
@dimaMachina
Copy link

@garronej any thought to migrate to unstyled radix tabs https://www.radix-ui.com/primitives/docs/components/tabs ? instead of implementing manual a11y

@garronej
Copy link
Collaborator

Thank you for this!

So sorry I didn't merge it earlyer!

@garronej garronej merged commit 21897e7 into codegouvfr:main Aug 19, 2023
@garronej
Copy link
Collaborator

@garronej any thought to migrate to unstyled radix tabs https://www.radix-ui.com/primitives/docs/components/tabs ? instead of implementing manual a11y

We can't introduce any thrird party dependency to the core components. This project is a compatibility layer for https://github.com/GouvernementFR/dsfr

@BrianRid BrianRid deleted the feat/keyboard-nav-in-tabs branch August 21, 2023 06:08
@ClementNumericite
Copy link
Contributor

hello, @garronej can you trigger a new release so I can enjoy this patch ? :)

thx

@garronej
Copy link
Collaborator

Sure sorry

garronej added a commit that referenced this pull request Aug 24, 2023
Signed-off-by: Joseph Garrone <joseph.garrone.gj@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants