Make WordPress Core


Ignore:
Timestamp:
03/21/2019 09:04:49 PM (6 years ago)
Author:
adamsilverstein
Message:

Media: introduce a "Heading" view for improved accessibility.

  • Add a new media view: wp.media.view.Heading designed to add accessibility friendly headers in the media library/modal.
  • Add an initial "Attachments list" heading above the attachments list.

Props afercia.
Fixes #36925.

File:
1 edited

Legend:

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

    r44951 r44969  
    37633763        'addToVideoPlaylist'          => __( 'Add to video playlist' ),
    37643764        'addToVideoPlaylistTitle'     => __( 'Add to Video Playlist' ),
     3765
     3766        // Headings
     3767        'attachmentsList'             => __( 'Attachments list' ),
    37653768    );
    37663769
Note: See TracChangeset for help on using the changeset viewer.