Skip to content
This repository has been archived by the owner on Jun 26, 2020. It is now read-only.

Add aria-label for widget's toolbar #91

Merged
merged 11 commits into from
Aug 13, 2019
Merged

Add aria-label for widget's toolbar #91

merged 11 commits into from
Aug 13, 2019

Conversation

msamsel
Copy link
Contributor

@msamsel msamsel commented Jul 4, 2019

Copy link
Member

@oleq oleq left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review comments + where are the tests?

lang/contexts.json Outdated Show resolved Hide resolved
const toolbarView = new ToolbarView();
const locale = this.editor.locale;
const t = locale.t;
const toolbarView = new ToolbarView( locale, { ariaLabel: t( 'Widget\'s toolbar' ) } );
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. As I pointed out in Add label for editor's toolbar ckeditor5-ui#500, the ariaLabel should be a property.

  2. #register should allow customization of ariaLabel (default t( 'Widget toolbar' )).

  3. Having the above, we need PRs in

    • ckeditor5-image
    • ckeditor5-table
    • ckeditor5-media-embed

    that will correctly describe widgets introduced by the features ("Image toolbar", "Table toolbar", etc.)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've updated the description for PR to link changes in image, table, media-embed.

@jodator jodator added the pr:sub label Aug 9, 2019
@oleq oleq merged commit aec5888 into master Aug 13, 2019
@oleq oleq deleted the t/ckeditor5/1404 branch August 13, 2019 14:53
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants