Remove unnecessary table markup announcement in notification item widget

Bug: T253406
Change-Id: Ibc9d3101b86c4dfb534d37ac2ca42e965fa45ad3
This commit is contained in:
bkudiess-msft 2020-05-22 11:17:31 -07:00 committed by VolkerE
parent 190d53ba3f
commit 172fb93f14

View file

@ -77,7 +77,8 @@
// Actions menu // Actions menu
this.actionsButtonSelectWidget = new OO.ui.ButtonSelectWidget( { this.actionsButtonSelectWidget = new OO.ui.ButtonSelectWidget( {
classes: [ 'mw-echo-ui-notificationItemWidget-content-actions-buttons' ] classes: [ 'mw-echo-ui-notificationItemWidget-content-actions-buttons' ],
tabIndex: -1
} ); } );
// Popup menu // Popup menu
@ -161,6 +162,7 @@
// Limit to 2 items outside the menu // Limit to 2 items outside the menu
if ( isOutsideMenu ) { if ( isOutsideMenu ) {
this.actionsButtonSelectWidget.addItems( [ linkButton ] ); this.actionsButtonSelectWidget.addItems( [ linkButton ] );
this.actionsButtonSelectWidget.setTabIndex( 0 );
outsideMenuItemCounter++; outsideMenuItemCounter++;
} else { } else {
this.menuPopupButtonWidget.getMenu().addItems( [ linkButton ] ); this.menuPopupButtonWidget.getMenu().addItems( [ linkButton ] );