Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #54344


Ignore:
Timestamp:
10/30/2021 06:29:37 AM (3 years ago)
Author:
sabernhardt
Comment:

Thanks for the report!

You already noticed the related ticket:40361, with a larger scope, but this might be good to address separately (especially if the label text is improved).

Also related: #32510

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #54344

    • Property Keywords required-fields added
    • Property Focuses ui-copy added
  • Ticket #54344 – Description

    initial v1  
    1 When a user attempts to create a new site on a WordPress multisite which allows registered users to create new sites (wp-signup.php), the signup page treats both 'site domain' and 'site title' as required fields, displaying an error message if either field is left blank. However, neither of the inputs has the `required` attribute that would indicate that this is the case to users of assistive technology (https://github.com/WordPress/wordpress-develop/blob/ec5ed03bf62ebf72b36da58d3578d0c98cdda1d2/src/wp-signup.php#L152 + https://github.com/WordPress/wordpress-develop/blob/ec5ed03bf62ebf72b36da58d3578d0c98cdda1d2/src/wp-signup.php#L121-L124).
     1When a user attempts to create a new site on a WordPress multisite which allows registered users to create new sites (wp-signup.php), the signup page treats both 'site domain' and 'site title' as required fields, displaying an error message if either field is left blank. However, neither of the inputs has the `required` attribute that would indicate that this is the case to users of assistive technology ([https://github.com/WordPress/wordpress-develop/blob/ec5ed03bf62ebf72b36da58d3578d0c98cdda1d2/src/wp-signup.php#L152 Site Title input] + [https://github.com/WordPress/wordpress-develop/blob/ec5ed03bf62ebf72b36da58d3578d0c98cdda1d2/src/wp-signup.php#L121-L124 Site Name/Domain input]).
    22
    33Second, while the site domain input has a label, the label does not include the URL content that is included in the address by default (the root URL for the subdomain or subdirectory installation). As a result, users of screen readers and other assistive technology may attempt to input the entire URL they wish to use for their site, resulting in an invalid value.