GrahamTheDev
GrahamTheDev
Here is a reference piece for star ratings (mentioned on stream), most of them are not accessible, this pattern is: https://dev.to/grahamthedev/5-star-rating-system-actually-accessible-no-js-no-wai-aria-3idl
There are a few options here. ## Keep `role="application"` `role="application"` is always a dangerous role to use as it means all interactions, navigation etc. must be recreated by code. If...
@MildTomato 14px, while small, isn't too far off as you are using REM units I suppose (and not setting the base font size in PX), so it should respect browser...
Agree with everything you are saying, as I said, compromises are to be expected! Also bear in mind I am always going for "perfect" and I always design with 16px...
@MildTomato WIthout seeing outputted HTML I always struggle, but does this not have the same issue but in reverse? The issue is nested interactive elements, on my understanding the above...
@MildTomato that makes perfect sense. Also the `asChild` prop is clear, I just wasn't familiar and thanks for my "Today I Learned (TIL)" moment! Looks like the perfect solve.
@eddiejaoude feel free to assign it to someone else, I am sure there are many other things I can do and this is a good first issue I reckon! 💗