From e4b83cf5090cafd6db2c07b61762815289971d12 Mon Sep 17 00:00:00 2001 From: Andrea Fercia Date: Thu, 9 Apr 2020 16:07:19 +0000 Subject: [PATCH] Accessibility: Fix the headings hierarchy on the Freedoms page. Props ryelle, afercia. Fixes #49838. git-svn-id: https://develop.svn.wordpress.org/trunk@47558 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/css/about.css | 3 ++- src/wp-admin/freedoms.php | 8 ++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/src/wp-admin/css/about.css b/src/wp-admin/css/about.css index f2e658a8aa..0cfca9f165 100644 --- a/src/wp-admin/css/about.css +++ b/src/wp-admin/css/about.css @@ -317,7 +317,8 @@ line-height: 1.4; } -.about__container h3 { +.about__container h3, +.about__container h2.is-smaller-heading { margin-top: 0; font-size: 1em; } diff --git a/src/wp-admin/freedoms.php b/src/wp-admin/freedoms.php index 454a647c0d..b9c1a832dc 100644 --- a/src/wp-admin/freedoms.php +++ b/src/wp-admin/freedoms.php @@ -64,22 +64,22 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
-

+

-

+

-

+

-

+