[wp-trac] [WordPress Trac] #59733: Disabled form controls should not use cursor: pointer
WordPress Trac
noreply at wordpress.org
Fri Feb 2 09:53:22 UTC 2024
#59733: Disabled form controls should not use cursor: pointer
----------------------------------------------+----------------------------
Reporter: afercia | Owner: afercia
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 6.5
Component: Administration | Version:
Severity: normal | Resolution: fixed
Keywords: has-screenshots has-patch commit | Focuses: ui,
| accessibility, css
----------------------------------------------+----------------------------
Changes (by afercia):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"57520" 57520]:
{{{
#!CommitTicketReference repository="" revision="57520"
Administration: Accessibility: Use the default cursor style for labels and
disabled form controls.
The native cursor style for labels and form controls is `default`, which
is the platform-dependent default cursor. Typically an arrow.
Historically, WordPress always used the `pointer` style for all form
controls and labels. While this isn't standard, there is some value in
using the `pointer` style for form controls. However, labels should use
the default style especially when the associated controls are disabled.
Additionally, makes sure the disabled styling works for form controls with
an `aria-disabled="true"` attribute.
Props joedolson, afercia.
Fixes #59733.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/59733#comment:15>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list