owncloud / web

:dragon_face: Next generation frontend for ownCloud Infinite Scale
https://owncloud.dev/clients/web/
GNU Affero General Public License v3.0
432 stars 159 forks source link

CreateShortcutModal may be an a11y violation #11097

Open pascalwengerter opened 3 months ago

pascalwengerter commented 3 months ago

Steps to reproduce

  1. Look at CreateShortcutModal code

    Screenshot 2024-06-25 at 12 03 47
  2. Look at web UI

    Screenshot 2024-06-25 at 12 04 00
  3. Realize that using the OcDrop pragmatically works "in general", but may violate a screen reader since it's not a valid input and doesn't provide any context

Expected behavior

Creating a shortcut is possible for any user independently of any possible restrictions

Actual behavior

A potential screenreader user gets lost in what is happening on their screen