зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1397609 - Fix a11y of bookmark star and Pocket urlbar buttons. r=Gijs
MozReview-Commit-ID: 30zJfz52uVB --HG-- extra : rebase_source : c5a6a3dc5f9a66752e844c8ff18c7f66655a7325
This commit is contained in:
Родитель
49e162dfd9
Коммит
de90ac28a4
|
@ -914,7 +914,6 @@
|
|||
<hbox id="star-button-box"
|
||||
hidden="true"
|
||||
class="urlbar-icon-wrapper urlbar-page-action"
|
||||
role="button"
|
||||
context="pageActionPanelContextMenu"
|
||||
oncontextmenu="BrowserPageActions.onContextMenu(event);"
|
||||
onclick="BrowserPageActions.bookmark.onUrlbarNodeClicked(event);">
|
||||
|
@ -924,7 +923,7 @@
|
|||
observes="bookmarkThisPageBroadcaster"/>
|
||||
<hbox id="star-button-animatable-box">
|
||||
<image id="star-button-animatable-image"
|
||||
role="button"
|
||||
role="presentation"
|
||||
observes="bookmarkThisPageBroadcaster"/>
|
||||
</hbox>
|
||||
</hbox>
|
||||
|
|
|
@ -119,7 +119,7 @@ var PocketPageAction = {
|
|||
animatableBox.id = "pocket-animatable-box";
|
||||
let animatableImage = doc.createElement("image");
|
||||
animatableImage.id = "pocket-animatable-image";
|
||||
animatableImage.setAttribute("role", "button");
|
||||
animatableImage.setAttribute("role", "presentation");
|
||||
let tooltip =
|
||||
gPocketBundle.GetStringFromName("pocket-button.tooltiptext");
|
||||
animatableImage.setAttribute("tooltiptext", tooltip);
|
||||
|
|
Загрузка…
Ссылка в новой задаче