Make WordPress Core

Opened 6 weeks ago

Closed 6 weeks ago

#66253 closed defect (bug) (fixed)

The buttons mixins disabled styles in colors/_mixins.scss should account for aria-disabled

Reported by: afercia Owned by: afercia
Priority: normal Milestone: 7.2
Component: Administration Version:
Severity: normal Keywords: has-patch commit
Cc: Focuses: accessibility, css

Description

In the src/wp-admin/css/colors/_mixins.scss file, the styles for disabled buttons only take into account:

  • The disabled state :disabled.
  • The disabled CSS class .disabled that WP sometimes uses on buttons.

They should be applied to buttons that only use aria-disabled as well.

Change History (5)

#1 @afercia
6 weeks ago

  • Owner set to afercia
  • Status new → assigned

This ticket was mentioned in ​PR #14042 on ​WordPress/wordpress-develop by ​@sainathpoojary.


6 weeks ago
#2

  • Keywords has-patch added

Adds disabled button colors for buttons with aria-disabled set to true. This applies to primary, secondary, and tertiary button mixins.

Trac ticket: https://core.trac.wordpress.org/ticket/66253

#3 @afercia
6 weeks ago

  • Summary The buttons mixings disabled styles in colors` should account for aria-disabled → The buttons mixins disabled styles in colors/_mixins.scss should account for aria-disabled

#4 @afercia
6 weeks ago

  • Keywords commit added

#5 @afercia
6 weeks ago

  • Resolution → fixed
  • Status assigned → closed

In 64231:

Administration: Improve the styling of the disabled buttons in colors/_mixins.scss.

Makes sure that buttons with an aria-disabled="true" attribute gets the disabled styling provided in src/wp-admin/css/colors/_mixins.scss.

Developed in ​https://github.com/WordPress/wordpress-develop/pull/14042

Props sainathpoojary.
Fixes #66253.

Note: See TracTickets for help on using tickets.