@@ -28,7 +28,7 @@ function renderTabToggle(id) {
28
28
ref="tab-toggle-${ id } "
29
29
data-id="${ id } "
30
30
icon="${ id } "
31
- set="onclick: on.clickTab; aria-role:tab_role; aria-controls:tab_${ id } "
31
+ set="onclick: on.clickTab; aria-role:tab_role; aria-controls:tab_${ id } ; title-prop: a11y-editor-tab- ${ id } "
32
32
>
33
33
</uc-btn-ui>
34
34
</uc-presence-toggle>
@@ -130,6 +130,11 @@ export class EditorToolbar extends Block {
130
130
[ `tab_${ TabId . TUNING } ` ] : `tab_${ TabId . TUNING } ` ,
131
131
[ `tab_${ TabId . CROP } ` ] : `tab_${ TabId . CROP } ` ,
132
132
[ `tab_${ TabId . FILTERS } ` ] : `tab_${ TabId . FILTERS } ` ,
133
+ cancel : 'cancel' ,
134
+ apply : 'apply' ,
135
+ 'a11y-editor-tab-filters' : 'a11y-editor-tab-filters' ,
136
+ 'a11y-editor-tab-tuning' : 'a11y-editor-tab-tuning' ,
137
+ 'a11y-editor-tab-crop' : 'a11y-editor-tab-crop' ,
133
138
} ;
134
139
135
140
/** @private */
@@ -421,8 +426,9 @@ EditorToolbar.template = /* HTML */ `
421
426
<div ref="tabs-indicator" class="uc-tab-toggles_indicator"></div>
422
427
${ ALL_TABS . map ( renderTabToggle ) . join ( '' ) }
423
428
</uc-presence-toggle>
424
- <uc-btn-ui style="order: -1" theme="secondary-icon" icon="closeMax" set="onclick: on.cancel"> </uc-btn-ui>
425
- <uc-btn-ui theme="primary-icon" icon="done" set="onclick: on.apply"> </uc-btn-ui>
429
+ <uc-btn-ui style="order: -1" theme="secondary-icon" icon="closeMax" set="onclick: on.cancel; title-prop:cancel">
430
+ </uc-btn-ui>
431
+ <uc-btn-ui theme="primary-icon" icon="done" set="onclick: on.apply; title-prop:apply"> </uc-btn-ui>
426
432
</div>
427
433
</uc-presence-toggle>
428
434
<uc-presence-toggle
@@ -433,8 +439,8 @@ EditorToolbar.template = /* HTML */ `
433
439
<uc-editor-slider ref="slider-el"></uc-editor-slider>
434
440
</div>
435
441
<div class="uc-controls-row">
436
- <uc-btn-ui theme="secondary" set="onclick: on.cancelSlider; " l10n="@text:cancel"> </uc-btn-ui>
437
- <uc-btn-ui theme="primary" set="onclick: on.applySlider; " l10n="@text:apply"> </uc-btn-ui>
442
+ <uc-btn-ui theme="secondary" set="onclick: on.cancelSlider" l10n="@text:cancel"> </uc-btn-ui>
443
+ <uc-btn-ui theme="primary" set="onclick: on.applySlider" l10n="@text:apply"> </uc-btn-ui>
438
444
</div>
439
445
</uc-presence-toggle>
440
446
</div>
0 commit comments