WordPress.org

Make WordPress Core


Ignore:
Timestamp:
10/03/2019 12:09:31 PM (14 months ago)
Author:
afercia
Message:

Accessibility: Media: Add more headings in the Media Modal.

Headings are the predominant mechanism for screen reader users to find information in a page. They also help all users to better identify the main sections of user interfaces.

  • adds three new headings within the media modal
  • improves plural form translation for "item selected" by using wp.i18n
  • horizontally centers the media modal menu in the responsive view

Props kjellr, karmatosed, melchoyce, afercia.
See #47149.
Fixes #47610.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/media.php

    r46239 r46375  
    39323932
    39333933        // Headings
    3934         'attachmentsList'             => __( 'Attachments list' ),
     3934        'filterAttachments'           => __( 'Filter Media' ),
     3935        'attachmentsList'             => __( 'Media list' ),
    39353936    );
    39363937
Note: See TracChangeset for help on using the changeset viewer.