-
-
Notifications
You must be signed in to change notification settings - Fork 101
Accessibility issues #149
Comments
Hello @darekkay, thanks for reporting it! PR are welcome to fix this issues, else we will take care of fixing them as soon as possible! |
Do you have an idea to fix it? |
|
Here's a result from web.dev (which uses Google Lighthouse) |
Thanks, but the color generated is automatic. So I would need a function that uses the best approaching color to meet the contrast requirement. |
Not sure if it helps, but we're experimenting with automatic generation of contrast colors in Reakit. Some usage examples can be seen here and here. There's a lot to improve though. |
Hello @diegohaz, thanks it is very interesting! Also the current approach need to be rethink with CSS Custom Properties. We will have to create a transformation and to pre-generate it, not at runtime. |
Babel macros may help. |
I would like to add 2 more bugs to this issue:
To be clear, those issues only happen when trying to use smooth-ui serverside and clientside at the same time, like when implementing something with Next.js, styled-components had the same issue and fixed it with the relevant lines from babel-plugin-styled-components to fix that issue:
relevant lines from smooth-ui:
EDIT: I found that giving the |
🐛 Bug Report
The framework advertises "Accessibility" and WAI-ARIA compliance. While in general it looks quite good, I have found multiple a11y issues.
aria-labelledby
andaria-describedby
if the content is equal. It will be announced twice via the screen reader.The text was updated successfully, but these errors were encountered: