WordPress.org

Make WordPress Core


Ignore:
Timestamp:
09/26/2019 05:15:34 PM (8 weeks ago)
Author:
afercia
Message:

Accessibility: Media: Make the Image Editor buttons text visible.

User interface controls that use only icons aren't ideal for many users.

Universal icons are rare. Icons must communicate meaning but their actual meaning varies depending on many factors including the users cultural background.
Moreover, users with cognitive impairments and speech recognition users need interface controls with visible text to be able to operate them.

  • shortens some of the buttons text to: Rotate left, Rotate right, Flip vertical, Flip horizontal
  • moves the Undo and Redo buttons underneath the main buttons group

Props nrqsnchz, melchoyce, karmatosed, sabernhardt, mikeschroder.
Fixes #47116.

File:
1 edited

Legend:

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

    r46210 r46326  
    13311331            'Back' => __( 'Back' ),
    13321332            'Invert' => __( 'Invert' ),
    1333             'Flip horizontally' => __( 'Flip horizontally' ),
    1334             'Flip vertically' => __( 'Flip vertically' ),
     1333            'Flip horizontally' => __( 'Flip horizontal' ),
     1334            'Flip vertically' => __( 'Flip vertical' ),
    13351335            'Crop' => __( 'Crop' ),
    13361336            'Orientation' => __( 'Orientation' ),
    13371337            'Resize' => __( 'Resize' ),
    1338             'Rotate clockwise' => __( 'Rotate clockwise' ),
    1339             'Rotate counterclockwise' => __( 'Rotate counterclockwise' ),
     1338            'Rotate clockwise' => __( 'Rotate right' ),
     1339            'Rotate counterclockwise' => __( 'Rotate left' ),
    13401340            'Sharpen' => __( 'Sharpen' ),
    13411341            'Brightness' => __( 'Brightness' ),
Note: See TracChangeset for help on using the changeset viewer.