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
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
@ -161,6 +162,7 @@
// Limit to 2 items outside the menu
if ( isOutsideMenu ) {
this.actionsButtonSelectWidget.addItems( [ linkButton ] );
this.actionsButtonSelectWidget.setTabIndex( 0 );
outsideMenuItemCounter++;
} else {
this.menuPopupButtonWidget.getMenu().addItems( [ linkButton ] );