Skip to content
Snippets Groups Projects
Commit 05ab66b6 authored by JediKev's avatar JediKev
Browse files

accessibility: Screen Readable Actions

This improves accessibility by adding screen readable labels to ticket
actions that don’t already have them.
parent a80ee743
No related branches found
No related tags found
No related merge requests found
......@@ -37,6 +37,7 @@ if (!$nextStatuses)
data-dropdown="#action-dropdown-statuses" data-placement="bottom" data-toggle="tooltip" title="<?php echo __('Change Status'); ?>">
<i class="icon-caret-down pull-right"></i>
<a class="tickets-action"
aria-label="<?php echo __('Change Status'); ?>"
href="#statuses"><i
class="icon-flag"></i></a>
</span>
......
......@@ -14,6 +14,7 @@ if ($agent->hasPerm(Ticket::PERM_ASSIGN, false)) {?>
echo __('Assign'); ?>">
<i class="icon-caret-down pull-right"></i>
<a class="tickets-action" id="tickets-assign"
aria-label="<?php echo __('Assign'); ?>"
href="#tickets/mass/assign"><i class="icon-user"></i></a>
</span>
<div id="action-dropdown-assign" class="action-dropdown anchor-right">
......
......@@ -74,7 +74,7 @@ if($ticket->isOverdue())
} ?>
<span class="action-button pull-right" data-placement="bottom" data-dropdown="#action-dropdown-print" data-toggle="tooltip" title="<?php echo __('Print'); ?>">
<i class="icon-caret-down pull-right"></i>
<a id="ticket-print" href="tickets.php?id=<?php echo $ticket->getId(); ?>&a=print"><i class="icon-print"></i></a>
<a id="ticket-print" aria-label="<?php echo __('Print'); ?>" href="tickets.php?id=<?php echo $ticket->getId(); ?>&a=print"><i class="icon-print"></i></a>
</span>
<div id="action-dropdown-print" class="action-dropdown anchor-right">
<ul>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment