File upload error accessibility issue with polite

Created on 15 February 2024, 9 months ago
Updated 28 February 2024, 9 months ago

Problem/Motivation

When getting an error while uploading a file it gets the aria-live="polite" but when getting an error it should be priorized with "assertive"
https://www.w3.org/TR/2016/WD-wai-aria-practices-1.1-20160317/#liveprops
https://www.w3.org/WAI/ARIA/apg/patterns/alert/examples/alert/

Steps to reproduce

upload a file with a extension that is not allowed.
Inspect error

Proposed resolution

changing polite to assertive in file.js

🐛 Bug report
Status

Needs work

Version

11.0 🔥

Component
File system 

Last updated about 3 hours ago

Created by

🇳🇱Netherlands e.chatrer

Live updates comments and jobs are added and updated live.
  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024