oruga icon indicating copy to clipboard operation
oruga copied to clipboard

Datepicker improve a11y

Open diwic opened this issue 3 years ago • 3 comments

Overview of the problem

Oruga version: 0.5.5 Vuejs version: 2.6 OS/Browser: Ubuntu/Firefox 99.0

Description

Hi! I'm working on improving accessibility and run into something I'm not sure how to fix myself. I'm using Firefox's checker and it errors on "Clickable elements must be focusable and should have interactive semantics", the component being o-ctrl-input.

Steps to reproduce

  1. Open https://oruga.io/components/datepicker.html in Firefox.
  2. Open Firefox devtools and choose the accessibility tab.
  3. Choose to check for all issues

Expected behavior

No errors/warnings

Actual behavior

Many errors/warnings. But the one I don't know how to fix in particular, is the one on o-ctrl-input that says Clickable elements must be focusable and should have interactive semantics.

diwic avatar May 06 '22 09:05 diwic

@diwic I never saw that error, to be honest. Anyway any improvements about accessibility are welcome

jtommy avatar Nov 26 '22 16:11 jtommy

hey @diwic any update on this task?

astagi avatar Jan 21 '23 10:01 astagi

bild

The error is still there; but it's now on the div.o-drop__trigger element.

diwic avatar Jan 23 '23 09:01 diwic