[wp-trac] [WordPress Trac] #47120: Media modals: Upload errors and field information are not associated with their control
WordPress Trac
noreply at wordpress.org
Thu Jun 6 15:39:42 UTC 2019
#47120: Media modals: Upload errors and field information are not associated with
their control
-----------------------------+--------------------------------
Reporter: afercia | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 5.3
Component: Media | Version:
Severity: normal | Resolution:
Keywords: wpcampus-report | Focuses: ui, accessibility
-----------------------------+--------------------------------
Comment (by afercia):
I've uploaded the image from the WPCampus complete technical report PDF
document (329 pages) and one more image for clarification, as I think the
image from the report identifies only one of the possible cases.
It's important to note that **the media uploader behavior actually differs
depending on the error type**, for example:
- file exceeding allowed size or file with no extension: the error is
displayed inline below the "Select Files" button (first image)
- empty file: the modal switches to the media grid and the error is
displayed in the sidebar (second image)
This makes things a bit more complicated.
Regardless, in this case there's no text input field nor form submission.
There's a "Select Files" button. In any case the error message should be
displayed underneath the button otherwise it may be outside the viewport
for some users or difficult to find for other users e.g. Braille-only
users.
Note: When in doubt, please refer to the WPCampus complete report, as some
details may have been list when moving issues from GitHub to Trac.
[https://wpcampus.org/2019/05/gutenberg-audit-results/ The PDF is
published on the WPCampus web site].
--
Ticket URL: <https://core.trac.wordpress.org/ticket/47120#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list