Commit 0200afb9 authored by Robert Lyon's avatar Robert Lyon

Bug 1487308: Setting aria-expanded to false

In the inbox/outbox list as each row is collapsed on page load

behatnotneeded

Change-Id: I9bbd01c4107938cb66492f333a3294873315fdab
Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
parent b868d3d0
......@@ -10,7 +10,7 @@
</span>
</label>
<a class="collapsed" href="#notification-{$item->table}-{$item->id}" data-id="{$item->id}" data-list="{$item->table}" data-toggle="collapse" aria-expanded="1" aria-controls="notification-{$item->table}-{$item->id}">
<a class="collapsed" href="#notification-{$item->table}-{$item->id}" data-id="{$item->id}" data-list="{$item->table}" data-toggle="collapse" aria-expanded="false" aria-controls="notification-{$item->table}-{$item->id}">
<span class="details-group">
{if $item->read && $item->type == 'usermessage'}
<span class="icon icon-envelope type-icon prxl plxl"></span>
......
......@@ -8,7 +8,7 @@
<span class="sr-only">{str tag='select' section='mahara'}</span>
</span>
</label>
<a class="collapsed" href="#notification-{$item->id}" data-toggle="collapse" aria-expanded="1" aria-controls="notification-{$item->id}" data-list="{$item->table}">
<a class="collapsed" href="#notification-{$item->id}" data-toggle="collapse" aria-expanded="false" aria-controls="notification-{$item->id}" data-list="{$item->table}">
<span class="details-group">
{if $item->read && $item->type == 'usermessage'}
<span class="icon icon-envelope type-icon prxl plxl"></span><span class="sr-only">{$item->strtype} - {str tag='read' section='activity'}</span>
......
......@@ -9,7 +9,7 @@
<span class="user-icon left">
<img src="{profile_icon_url user=$message->fromid maxwidth=60 maxheight=60}" alt="{$message->fromusrname}">
</span>
<a class="has-user-icon {if $dwoo.foreach.message.last}{else}collapsed{/if}" href="#message-{$message->id}" data-toggle="collapse" aria-expanded="1" aria-controls="#message-{$message->id}">
<a class="has-user-icon {if $dwoo.foreach.message.last}{else}collapsed{/if}" href="#message-{$message->id}" data-toggle="collapse" aria-expanded="{if $dwoo.foreach.message.last}true{else}false{/if}" aria-controls="#message-{$message->id}">
{if ($message->fromusrlink != 0)}
<a href="{$message->fromusrlink}">
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment