From bc8c1984ea6eb120f219159594d5db26da20ca09 Mon Sep 17 00:00:00 2001 From: audrasjb Date: Tue, 1 Nov 2022 11:05:16 +0000 Subject: [PATCH] Administration: Remove `role="img"` from decorative SVG images. This changeset removes `role="img"` attribute from two decorative images: despite being hidden to assistive technologies using `aria-hidden="true"`, automated tools still understand them as images and expect alternative texts. Props viralsampat, sabernhardt, audrasjb, ryokuhi, elifvish. Fixes #56824. Built from https://develop.svn.wordpress.org/trunk@54739 git-svn-id: http://core.svn.wordpress.org/trunk@54291 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/dashboard.php | 2 +- wp-admin/site-health.php | 2 +- wp-includes/version.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/wp-admin/includes/dashboard.php b/wp-admin/includes/dashboard.php index 5a23d3fdc1..4c1f1f6797 100644 --- a/wp-admin/includes/dashboard.php +++ b/wp-admin/includes/dashboard.php @@ -1944,7 +1944,7 @@ function wp_dashboard_site_health() {
-
-