Make WordPress Core


Ignore:
Timestamp:
09/22/2019 09:58:06 PM (5 years ago)
Author:
afercia
Message:

Accessibility: Twenty Nineteen: Improve the special pages headings.

Improves information provided by the headings, their alignment and spacing in the following special pages:

  • search page with and without search results
  • 404 page (no content)
  • archive pages

Props ianbelanger, kjellr, nrqsnchz, audrasjb.
Fixes #47140.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentynineteen/sass/site/primary/_archives.scss

    r44652 r46234  
    66
    77    @include media(tablet) {
    8         margin: 0 $size__site-margins $size__site-margins;
     8        margin: 0 $size__site-margins calc(3 * #{$size__spacing-unit});
    99    }
    1010
     
    2424        display: inherit;
    2525        clear: both;
    26 
    27         &:after {
    28             content: ".";
    29             font-weight: bold;
    30             color: $color__text-light;
    31         }
    3226    }
    3327}
    3428
    35 .archive .page-header .page-description {
     29.archive .page-header .page-description,
     30.search .page-header .page-description {
    3631    display: block;
    3732    color: $color__text-main;
     
    5146.no-results.not-found {
    5247
    53     .page-title,
    5448    .page-content {
    5549
Note: See TracChangeset for help on using the changeset viewer.