Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitce135eb

Browse files
edg2sjenkins-bot
authored and
jenkins-bot
committed
Set invisible labels on label-less buttons
Change-Id: I688c93070be2e5674ce26f6160837aa0bb7e5f7b
1 parentf7a9486 commitce135eb

File tree

4 files changed

+12
-3
lines changed

4 files changed

+12
-3
lines changed

‎src/ui/contextitems/ve.ui.AnnotationContextItem.js‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ ve.ui.AnnotationContextItem = function VeUiAnnotationContextItem( context, model
3535
}else{
3636
this.clearButton=newOO.ui.ButtonWidget({
3737
title:this.constructor.static.clearMsg,
38+
label:this.constructor.static.clearMsg,
39+
invisibleLabel:true,
3840
icon:this.constructor.static.clearIcon,
3941
flags:['destructive']
4042
});

‎src/ui/dialogs/ve.ui.FindAndReplaceDialog.js‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,12 +65,16 @@ ve.ui.FindAndReplaceDialog.prototype.initialize = function () {
6565
icon:'previous',
6666
title:ve.msg('visualeditor-find-and-replace-previous-button')+' '+
6767
ve.ui.triggerRegistry.getMessages('findPrevious').join(', '),
68+
label:ve.msg('visualeditor-find-and-replace-previous-button'),
69+
invisibleLabel:true,
6870
tabIndex:2
6971
});
7072
this.nextButton=newOO.ui.ButtonWidget({
7173
icon:'next',
7274
title:ve.msg('visualeditor-find-and-replace-next-button')+' '+
7375
ve.ui.triggerRegistry.getMessages('findNext').join(', '),
76+
label:ve.msg('visualeditor-find-and-replace-next-button'),
77+
invisibleLabel:true,
7478
tabIndex:2
7579
});
7680
this.matchCaseToggle=newOO.ui.ToggleButtonWidget({

‎src/ui/dialogs/ve.ui.ProgressDialog.js‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,9 @@ ve.ui.ProgressDialog.prototype.getSetupProcess = function ( data = {} ) {
8989
constcancelButton=newOO.ui.ButtonWidget({
9090
framed:false,
9191
icon:'cancel',
92-
title:OO.ui.deferMsg('visualeditor-dialog-action-cancel')
92+
title:OO.ui.deferMsg('visualeditor-dialog-action-cancel'),
93+
label:OO.ui.deferMsg('visualeditor-dialog-action-cancel'),
94+
invisibleLabel:true
9395
}).on('click',cancelDeferred.reject.bind(cancelDeferred));
9496
$row.append(cancelButton.$element);
9597
cancellable=true;

‎src/ui/widgets/ve.ui.LanguageInputWidget.js‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,10 @@ ve.ui.LanguageInputWidget = function VeUiLanguageInputWidget( config = {} ) {
3636

3737
this.findLanguageButton=newOO.ui.ButtonWidget({
3838
classes:['ve-ui-languageInputWidget-findLanguageButton'],
39-
icon:'ellipsis'
39+
icon:'ellipsis',
40+
label:ve.msg('visualeditor-dialog-language-search-title'),
41+
invisibleLabel:true
4042
});
41-
this.findLanguageButton.$button.attr('aria-label',ve.msg('visualeditor-dialog-language-search-title'));
4243
this.selectedLanguageLabel=newOO.ui.LabelWidget({
4344
classes:['ve-ui-languageInputWidget-selectedLanguageLabel'],
4445
label:ve.msg('visualeditor-languageinspector-widget-changelang')

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp