mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-29 13:52:10 +03:00
Made the "back" buttons have unique aria-label attributes
This commit is contained in:
parent
6e0bd66063
commit
82808d69f5
@ -189,7 +189,7 @@
|
||||
<div class="active">
|
||||
{{#if (eq this.subview "meta-data")}}
|
||||
<div class="settings-menu-header subview">
|
||||
<button aria-label="Back" class="back settings-menu-header-action" data-test-button="close-psm-subview" type="button" {{action "closeSubview"}}>{{svg-jar "arrow-left"}}<span class="hidden">Back</span></button>
|
||||
<button aria-label="Close meta data panel" class="back settings-menu-header-action" data-test-button="close-psm-subview" type="button" {{action "closeSubview"}}>{{svg-jar "arrow-left"}}<span class="hidden">Back</span></button>
|
||||
<h4>Meta data</h4>
|
||||
<div style="width:23px;"></div>
|
||||
</div>
|
||||
@ -262,7 +262,7 @@
|
||||
|
||||
{{#if (eq this.subview "twitter-data")}}
|
||||
<div class="settings-menu-header subview">
|
||||
<button aria-label="Back" class="back settings-menu-header-action" data-test-button="close-psm-subview" type="button" {{action "closeSubview"}}>{{svg-jar "arrow-left"}}<span class="hidden">Back</span></button>
|
||||
<button aria-label="Close Twitter card panel" class="back settings-menu-header-action" data-test-button="close-psm-subview" type="button" {{action "closeSubview"}}>{{svg-jar "arrow-left"}}<span class="hidden">Back</span></button>
|
||||
<h4>Twitter card</h4>
|
||||
<div style="width:23px;"></div>
|
||||
</div>
|
||||
@ -338,7 +338,7 @@
|
||||
|
||||
{{#if (eq this.subview "facebook-data")}}
|
||||
<div class="settings-menu-header subview">
|
||||
<button aria-label="Back" class="back settings-menu-header-action" data-test-button="close-psm-subview" type="button" {{action "closeSubview"}}>{{svg-jar "arrow-left"}}<span class="hidden">Back</span></button>
|
||||
<button aria-label="Close Facebook card panel" class="back settings-menu-header-action" data-test-button="close-psm-subview" type="button" {{action "closeSubview"}}>{{svg-jar "arrow-left"}}<span class="hidden">Back</span></button>
|
||||
<h4>Facebook card</h4>
|
||||
<div style="width:23px;"></div>
|
||||
</div>
|
||||
@ -406,7 +406,7 @@
|
||||
|
||||
{{#if (eq this.subview "codeinjection")}}
|
||||
<div class="settings-menu-header subview">
|
||||
<button aria-label="Back" class="back settings-menu-header-action" data-test-button="close-psm-subview" type="button" {{action "closeSubview"}}>{{svg-jar "arrow-left"}}<span class="hidden">Back</span></button>
|
||||
<button aria-label="Close code injection panel" class="back settings-menu-header-action" data-test-button="close-psm-subview" type="button" {{action "closeSubview"}}>{{svg-jar "arrow-left"}}<span class="hidden">Back</span></button>
|
||||
<h4>Code injection</h4>
|
||||
<div style="width:23px;"></div>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user