♿️ Accessibility tools for React Three Fiber
OTHER License
Bot releases are visible (Hide)
Updated @react-three/a11y in order to use it with React 18.
Thanks to indiejoseph for the help
Published by AlaricBaraou over 2 years ago
Adds an optional dragThreshold prop to the A11y component. If the onClick event delta ( Distance between mouse down and mouse up event in pixels ) is greater than this value, the action event handler doesn't fire.
This can help when using this library with the drei MapControls, where drags that start and end on the same A11y target to prevent trigger a click event when the user's intention is to just pan the camera.
thanks to @claytercek for the PR
Published by AlaricBaraou about 3 years ago
fix: add support for older browsers (b913ecf)
Published by AlaricBaraou about 3 years ago
fix: correct sections' default styling (9bd4416)
fix: correct section wrapping (0f4758d)
Published by AlaricBaraou about 3 years ago
feat: added custom DOM tags (161de54)
Published by AlaricBaraou about 3 years ago
feat: added new role: image (a2f5310)
Published by AlaricBaraou over 3 years ago
Buf fix :
Published by AlaricBaraou over 3 years ago
Updated peerDependencies
Published by AlaricBaraou over 3 years ago
Fix some issues with wrongly required props.
https://github.com/pmndrs/react-three-a11y/issues/20
Published by AlaricBaraou over 3 years ago
Minimum supported version of r3f is ">=6.0"
Published by AlaricBaraou over 3 years ago
The drei's Html component have been replaced by a lighter version in order to fix some build issues making react-three-a11y not usable with react-three-next.
Also lost a few kb in the process.
Published by AlaricBaraou over 3 years ago
Stable Version
Published by AlaricBaraou over 3 years ago
Change logs :
General :
Demo changes :
Published by AlaricBaraou over 3 years ago
Change logs :
A new component is available in order to access user preferences such as
The demo has been updated accordingly in order to showcase this feature.
If you access it with a browser exposing your preference for reduced animation or a dark theme you'll see the app design / behaviour adapt to it.
Published by AlaricBaraou almost 4 years ago
Change logs :
In the case of a donut for instance, the button would be positioned in the middle of it, where it shouldn't be anything to trigger an hover etc
With the a11yElStyle props the user can fix it
before
after
Published by AlaricBaraou almost 4 years ago
First release ! 🚀