Make WordPress Core

Opened 4 weeks ago

Last modified 4 weeks ago

#63603 reviewing enhancement

Replace deprecated / non-standard CSS for `speak` and `aural`

Reported by: krokodok's profile krokodok Owned by: audrasjb's profile audrasjb
Milestone: 6.9 Priority: normal
Severity: normal Version:
Component: General Keywords: has-patch dev-feedback
Focuses: accessibility, css Cc:

Description

Both speak: never and @media aural are deprecated and/or non-standard. They are exclusively used for font-icons on pseudo elements. We can replace them with the syntax content: "\icon-code" / "", which is widely supported.

Examples of files where this is used:
– …/src/wp-admin/css/common.css
– …/src/wp-admin/css/themes.css

Change History (6)

This ticket was mentioned in PR #9028 on WordPress/wordpress-develop by @krokodok.


4 weeks ago
#1

  • Keywords has-patch added

Both speak: never and @media aural are deprecated and/or non-standard. They are exclusively used for font-icons on pseudo elements. We can replace them with the syntax content: "\icon-code" / "", which is widely supported.

Trac ticket: [](https://core.trac.wordpress.org/ticket/63603#ticket)

#2 @krokodok
4 weeks ago

If you would suggest keeping speak: never for future support of CSS3 Speech Module, I can modify my PR to remove only @media aural, which hast not been part of the Draft any more for a long time.

#3 @sabernhardt
4 weeks ago

  • Version trunk deleted

Related: #40428

#4 @audrasjb
4 weeks ago

  • Keywords dev-feedback added
  • Milestone changed from Awaiting Review to 6.9
  • Owner set to audrasjb
  • Status changed from new to reviewing

Thank you for opening this issue, the proposed implementation looks good to me. As there is a detailed justification for this change and a functional patch, I'm moving this to 6.9, pending further review.

@joedolson commented on PR #9028:


4 weeks ago
#5

This will need a trac ticket to be considered for merge; are you planning on opening one, @krokodok?

@krokodok commented on PR #9028:


4 weeks ago
#6

@joedolson Made a mistake in the formatting of my initial post. There was a link to the ticket: https://core.trac.wordpress.org/ticket/63603

Note: See TracTickets for help on using tickets.