FIX: Improve mobile footer nav accessibility

This commit is contained in:
Penar Musaraj 2020-05-11 16:54:52 -04:00
parent b4d27d327d
commit 90b900704b
2 changed files with 14 additions and 4 deletions

View File

@ -12,7 +12,8 @@ createWidget("footer-nav", {
action: "goBack",
icon: "chevron-left",
className: "btn-large",
disabled: !attrs.canGoBack
disabled: !attrs.canGoBack,
title: "footer_nav.back"
})
);
@ -21,7 +22,8 @@ createWidget("footer-nav", {
action: "goForward",
icon: "chevron-right",
className: "btn-large",
disabled: !attrs.canGoForward
disabled: !attrs.canGoForward,
title: "footer_nav.forward"
})
);
@ -30,7 +32,8 @@ createWidget("footer-nav", {
this.attach("flat-button", {
action: "share",
icon: "link",
className: "btn-large"
className: "btn-large",
title: "footer_nav.share"
})
);
@ -38,7 +41,8 @@ createWidget("footer-nav", {
this.attach("flat-button", {
action: "dismiss",
icon: "chevron-down",
className: "btn-large"
className: "btn-large",
title: "footer_nav.dismiss"
})
);
}

View File

@ -3319,6 +3319,12 @@ en:
forced_anonymous: "Due to extreme load, this is temporarily being shown to everyone as a logged out user would see it."
footer_nav:
back: "Back"
forward: "Forward"
share: "Share"
dismiss: "Dismiss"
safe_mode:
enabled: "Safe mode is enabled, to exit safe mode close this browser window"