Skip to content

Commit

Permalink
newer Laminas versions add aria-current to a elements as well
Browse files Browse the repository at this point in the history
  • Loading branch information
driehle committed Dec 6, 2023
1 parent 01c44ad commit 6be94f9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion tests/TestSuite/TwbsHelper/View/Helper/CardTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ public function testRenderCardHeaderNavWithGivenAttributes()
' <div class="card-header&#x20;test-class">' . PHP_EOL .
' <ul class="card-header-tabs&#x20;nav&#x20;nav-tabs">' . PHP_EOL .
' <li class="&#x20;nav-item">' . PHP_EOL .
' <a class="nav-link&#x20;active" href="&#x23;">Active</a>' . PHP_EOL .
' <a class="nav-link&#x20;active" href="&#x23;" aria-current="page">' .
'Active</a>' . PHP_EOL .
' </li>' . PHP_EOL .
' </ul>' . PHP_EOL .
' </div>' . PHP_EOL .
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public function testRenderStraightWithLinkLast()
' <ol class="breadcrumb">' . PHP_EOL .
' <li class="breadcrumb-item"><a href="&#x2F;">Home</a></li>' . PHP_EOL .
' <li class="breadcrumb-item active" aria-current="page">' .
'<a href="&#x2F;library">Library</a>' .
'<a href="&#x2F;library" aria-current="page">Library</a>' .
'</li>' . PHP_EOL .
' </ol>' . PHP_EOL .
'</nav>',
Expand Down

0 comments on commit 6be94f9

Please sign in to comment.