Open LWChris opened 10 months ago
Note: Part 2 / Actions / The use directive has a similar problem with its div
:
A11y: <div> with click, keydown handlers must have an ARIA role
role="presentation"
removes the error, but it would be nice if they updated the tutorial there.
Part 2 / Advanced Bindings / Binding to component instances also has an aria issue.
A11y: \<div> with click, keydown handlers must have an ARIA role
On Part 2 / Motion / Springs the
svg
element has an accessibility warning:I'm no expert in ARIA yet, but I tried
role="application"
just to see what would happen; unfortunately, all that did was to change the error intoIt feels like this is a hard coded dead end, because if
application
cannot greenlight mouse or keyboard events, then what can?Not sure if the example is actually bad style or if the second warning is nonsense and should accept
role="application"
.