Skip to content

Commit

Permalink
Fixes #52 to use new html button markup for toggle option
Browse files Browse the repository at this point in the history
  • Loading branch information
bueltge committed Jun 14, 2018
1 parent 25ced1c commit 0716c6c
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions patterns/two-column-layout-2.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,10 @@

<div class="postbox">

<div class="handlediv" title="Click to toggle"><br></div>
<button type="button" class="handlediv" aria-expanded="true" >
<span class="screen-reader-text">Toggle panel</span>
<span class="toggle-indicator" aria-hidden="true"></span>
</button>
<!-- Toggle -->

<h2 class="hndle"><span><?php esc_attr_e( 'Main Content Header', 'WpAdminStyle' ); ?></span>
Expand Down Expand Up @@ -44,7 +47,10 @@

<div class="postbox">

<div class="handlediv" title="Click to toggle"><br></div>
<button type="button" class="handlediv" aria-expanded="true" >
<span class="screen-reader-text">Toggle panel</span>
<span class="toggle-indicator" aria-hidden="true"></span>
</button>
<!-- Toggle -->

<h2 class="hndle"><span><?php esc_attr_e(
Expand Down

0 comments on commit 0716c6c

Please sign in to comment.