News for hackers. Stuff that matters.
Re:Show HN: React-hint – 150LoC Tooltip Component for React,... by maaaats on Sunday August 27, 2017 @12:04PM (#15111303)
How does it deal with UU/accessibility?
Re:Show HN: React-hint – 150LoC Tooltip Component for React,... by akrigline on Sunday August 27, 2017 @12:15PM (#15111349)
It looks like it doesn't. Tabbing through elements to focus on a button with it applied doesn't bring the hint up automatically, which would probably be the best experience here.
Re:Show HN: React-hint – 150LoC Tooltip Component for React,... by maaaats on Sunday August 27, 2017 @12:28PM (#15111417)
Just bringing it up wouldn't be enough, though, it has to be announced to screen readers. Or it would have to have a non-interactive way to work for screen readers.

Reason I'm asking is that this is non-trivial, and takes time to verify with different browsers and NVDA and JAWS. Having dependencies solving these issues are great.

Re:Show HN: React-hint – 150LoC Tooltip Component for React,... by slmgc on Sunday August 27, 2017 @04:06PM (#15112430)
That's a good question, thanks! I didn't think about that, but, surely, this functionality should be added. I will try to research what would be the best solution for accessibility.