Commit f46ad3d9 authored by Lisa Seeto's avatar Lisa Seeto Committed by Cecilia Vela Gurovic
Browse files

Bug 1887450: Block header buttons need better labels when Editing Pages



- add in sr-only tags for buttons

Change-Id: I47ca334ea8c197a782641d23843ee8959d5e4e05
Signed-off-by: default avatarLisa Seeto <lisaseeto@catalyst.net.nz>
(cherry picked from commit dfba4844)
parent 80340e7e
......@@ -16,11 +16,13 @@
{if $configurable && !$configure}
<button class="configurebutton btn btn-inverse btn-sm" name="action_configureblockinstance_id_{$id}" alt="{$strconfigtitletext}" data-id="{$id}">
<span class="icon icon-cog icon-lg" role="presentation" aria-hidden="true" title="{$strconfigtitletexttooltip}"></span>
<span class="sr-only">{$strconfigtitletext}</span>
</button>
{/if}
{if !$lockblocks}
<button class="deletebutton btn btn-inverse btn-sm" name="action_removeblockinstance_id_{$id}" alt="{$strremovetitletext}" data-id="{$id}">
<span class="icon icon-trash-alt text-danger icon-lg" role="presentation" aria-hidden="true" title="{$strremovetitletexttooltip}"></span>
<span class="sr-only">{$strremovetitletext}</span>
</button>
{/if}
</span>
......
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