[wp-trac] [WordPress Trac] #52414: Accessibility checker flags search form
WordPress Trac
noreply at wordpress.org
Fri Feb 5 07:54:25 UTC 2021
#52414: Accessibility checker flags search form
--------------------------+----------------------------
Reporter: TylerTork | Owner: (none)
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: Widgets | Version:
Severity: normal | Resolution: invalid
Keywords: | Focuses: accessibility
--------------------------+----------------------------
Changes (by sabernhardt):
* status: new => closed
* resolution: => invalid
* milestone: Awaiting Review =>
Comment:
@TylerTork Thanks for the report!
The accessibility checker indicates that there is no label for that search
input. The standard core search widget markup does include a `label` tag
with text in it.
[https://core.trac.wordpress.org/browser/tags/5.6/src/wp-includes/general-
template.php#L319 See general-template.php]
Unfortunately, the Graphene theme overrides the standard form markup in
its searchform.php template file and does not supply a label.
[https://wave.webaim.org/ The WAVE evaluation tool] also flags missing
button text for the submit button.
You could report these accessibility errors in
[https://wordpress.org/support/theme/graphene/ the theme's support forum].
Because this is not a core bug, I'll close the ticket here.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/52414#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list