Skip to content
This repository has been archived by the owner on Mar 20, 2024. It is now read-only.

Commit

Permalink
fix(megaMenu): trailing close button is accessible with the keyboard
Browse files Browse the repository at this point in the history
  • Loading branch information
gillerr committed Dec 6, 2017
1 parent f68e576 commit 21a8f57
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/views/layouts/includes/f-menu-item.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ <h4><a href="{{#if @root.baseurl}}{{@root.baseurl}}/{{/if}}../{{data 'locale'}}/
{{/modulo}}
{{/each}}
</div>
<a href="#" class="yamm-close-bottom" role="menuitem" tabindex="-1" aria-label="{{t 'styleguide.close'}}"><span class="icon icon--top"></span></a>
<a href="#" class="yamm-close-bottom" role="menuitem" aria-label="{{t 'styleguide.close'}}"><span class="icon icon--top"></span></a>
</div>
</div>
</li>
4 changes: 2 additions & 2 deletions src/views/layouts/includes/f-menu.html
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ <h4><a href="{{#if @root.baseurl}}{{@root.baseurl}}/{{/if}}../{{data 'locale'}}/
{{/modulo}}
{{/each}}
</div>
<a href="#" class="yamm-close-bottom" role="menuitem" tabindex="-1" aria-label="{{t 'styleguide.close'}}"><span class="icon icon--top"></span></a>
<a href="#" class="yamm-close-bottom" role="menuitem" aria-label="{{t 'styleguide.close'}}"><span class="icon icon--top"></span></a>
</div>
</div>
</li>
Expand Down Expand Up @@ -136,7 +136,7 @@ <h4><a href="{{#if @root.baseurl}}{{@root.baseurl}}/{{/if}}../{{data 'locale'}}/
{{/modulo}}
{{/each}}
</div>
<a href="#" class="yamm-close-bottom" role="menuitem" tabindex="-1" aria-label="{{t 'styleguide.close'}}"><span class="icon icon--top"></span></a>
<a href="#" class="yamm-close-bottom" role="menuitem" aria-label="{{t 'styleguide.close'}}"><span class="icon icon--top"></span></a>
</div>
</div>
</li>
Expand Down

0 comments on commit 21a8f57

Please sign in to comment.