[wp-trac] [WordPress Trac] #62550: Missing "submit" button - bad accessibility
WordPress Trac
noreply at wordpress.org
Sat Nov 23 18:40:19 UTC 2024
#62550: Missing "submit" button - bad accessibility
----------------------------+------------------------------
Reporter: kkmuffme | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Administration | Version:
Severity: minor | Resolution:
Keywords: | Focuses: accessibility
----------------------------+------------------------------
Description changed by sabernhardt:
Old description:
> - [https://github.com/WordPress/wordpress-
> develop/blob/aa2b4fd6eded4e229335765c6f87ffc2353f5638/src/wp-
> admin/includes/class-wp-screen.php#L1070 Screen options]
> - [https://github.com/WordPress/wordpress-develop/blob/trunk/src/wp-
> admin/includes/template.php#L454 inline comment reply-to form]
>
> open /wp-admin/
>
> Both of those forms do not have a "submit" but all forms must have a
> submit for accessibility reasons
> https://www.w3.org/WAI/WCAG22/Techniques/html/H32
>
> Since the submit button is displayed conditionally, it might make sense
> to only load it as form conditionally too? (e.g. as div if we do not have
> anything submittable)
New description:
- [https://github.com/WordPress/wordpress-
develop/blob/aa2b4fd6eded4e229335765c6f87ffc2353f5638/src/wp-
admin/includes/class-wp-screen.php#L1070 Screen options]
- [https://github.com/WordPress/wordpress-
develop/blob/aa2b4fd6eded4e229335765c6f87ffc2353f5638/src/wp-
admin/includes/template.php#L454 inline comment reply-to form]
open /wp-admin/
Both of those forms do not have a "submit" but all forms must have a
submit for accessibility reasons
https://www.w3.org/WAI/WCAG22/Techniques/html/H32
Since the submit button is displayed conditionally, it might make sense to
only load it as form conditionally too? (e.g. as div if we do not have
anything submittable)
--
--
Ticket URL: <https://core.trac.wordpress.org/ticket/62550#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list