Bug 1835361 - Drive by remove unneeded tabindex=0 attributes; r=nordzilla

These were needed due to a bug in the button implementation that has
since been fixed. I don't have the bug number, but I received this
feedback in a review, but the other bug hadn't landed yet.

Depends on D180986

Differential Revision: https://phabricator.services.mozilla.com/D180987
This commit is contained in:
Greg Tatum 2023-06-16 16:40:22 +00:00
parent 7bb9646bf4
commit 59930c462a

View File

@ -96,21 +96,18 @@
<button id="translations-panel-restore-button"
class="subviewbutton panel-subview-footer-button"
oncommand="TranslationsPanel.onRestore(event);"
data-l10n-id="translations-panel-restore-button"
tabindex="0">
data-l10n-id="translations-panel-restore-button">
</button>
<button id="translations-panel-cancel"
class="subviewbutton panel-subview-footer-button"
oncommand="TranslationsPanel.onCancel(event);"
data-l10n-id="translations-panel-translate-cancel"
tabindex="0">
data-l10n-id="translations-panel-translate-cancel">
</button>
<button id="translations-panel-translate"
class="subviewbutton panel-subview-footer-button"
oncommand="TranslationsPanel.onTranslate(event);"
data-l10n-id="translations-panel-translate-button"
default="true"
tabindex="0">
default="true">
</button>
</hbox>
</panelview>
@ -133,14 +130,12 @@
<hbox class="panel-footer translations-panel-footer">
<button class="subviewbutton panel-subview-footer-button"
oncommand="TranslationsPanel.onChangeSourceLanguage(event);"
data-l10n-id="translations-panel-error-change-button"
tabindex="0">
data-l10n-id="translations-panel-error-change-button">
</button>
<button class="subviewbutton panel-subview-footer-button"
oncommand="TranslationsPanel.onCancel(event);"
data-l10n-id="translations-panel-error-dismiss-button"
default="true"
tabindex="0">
default="true">
</button>
</hbox>
</panelview>