Skip to content

Commit

Permalink
Merge pull request #93 from devgeniem/TMS-931
Browse files Browse the repository at this point in the history
TMS-931: Navigation accessibility fixes
  • Loading branch information
eebbi authored May 25, 2023
2 parents 84cb8d7 + cd7425c commit a8718cd
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 6 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.MD
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

## [Unreleased]

## [1.12.1] – 2023-05-24

### Changed

- TMS-931: Navigation accessibility fixes

## [1.12.0] – 2023-04-11

- PIEN-8157: PHP 8.1
Expand Down
8 changes: 5 additions & 3 deletions partials/ui/menu/menu-item-dropdown-content.dust
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,13 @@
</a>

<div class="navbar-dropdown-items">
<div class="navbar-grid">
<ul class="navbar-grid">
{#sub_menu}
{>"ui/menu/menu-item-simple" icon="chevron-right" /}
<li>
{>"ui/menu/menu-item-simple" icon="chevron-right" /}
</li>
{/sub_menu}
</div>
</ul>
</div>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion partials/ui/menu/menu-item-single.dust
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<li class="navbar-item navbar-item__single is-uppercase {#classes}{.}{@sep} {/sep}{/classes}">
<a href="{url}" class="is-arrowless pr-0 pl-0">
<a href="{url}" class="is-arrowless pr-0 pl-0" {?classes.is_current}aria-page='current'{/classes.is_current}>
{title|s}
</a>
</li>
2 changes: 1 addition & 1 deletion partials/ui/menu/menu-item.dust
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
{?sub_menu}
<li class="navbar-item has-dropdown {#classes}{.}{@sep} {/sep}{/classes}">
<div class="navbar-dropdown-control">
<a class="navbar-link is-arrowless is-uppercase" href="{url}">
<a class="navbar-link is-arrowless is-uppercase" href="{url}" {?classes.is_current}aria-page="current"{/classes.is_current}>
{title|s}
</a>

Expand Down
2 changes: 1 addition & 1 deletion style.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* Theme Name: TMS Theme Filharmonia
* Description: Tampere Multisite Filharmonia Theme
* Version: 1.12.0
* Version: 1.12.1
* Author: Geniem
* Author URI: https://geniem.fi
* Template: tms-theme-base
Expand Down

0 comments on commit a8718cd

Please sign in to comment.