Commit 7876fec6 authored by Liam Sharpe's avatar Liam Sharpe Committed by Aaron Wells

Bug 1484781: Added aria-hidden=true to all icons

behatnotneeded

Change-Id: I01dc196e0c9931d5cb4be926e7d3c8ce17e06546
parent f265c4d3
......@@ -22,3 +22,4 @@ Changes:
* Keep focus position when loading more elements with infinite scrolling
* Add label to "Remove tag" button
* Make "Remove tag" button work with the keyboard
* Adding the 'aria-hidden="true"' to presentation icons
\ No newline at end of file
......@@ -1480,8 +1480,8 @@ S2.define('select2/selection/single',[
$selection.html(
'<span class="select2-selection__rendered"></span>' +
'<span class="select2-selection__arrow" role="presentation">' +
'<b role="presentation"></b>' +
'<span class="select2-selection__arrow" role="presentation" aria-hidden="true">' +
'<b role="presentation" aria-hidden="true"></b>' +
'</span>'
);
......
......@@ -1464,8 +1464,8 @@ S2.define('select2/selection/single',[
$selection.html(
'<span class="select2-selection__rendered"></span>' +
'<span class="select2-selection__arrow" role="presentation">' +
'<b role="presentation"></b>' +
'<span class="select2-selection__arrow" role="presentation" aria-hidden="true">' +
'<b role="presentation" aria-hidden="true"></b>' +
'</span>'
);
......@@ -1609,7 +1609,7 @@ S2.define('select2/selection/multiple',[
MultipleSelection.prototype.selectionContainer = function () {
var $container = $(
'<li class="select2-selection__choice">' +
'<span class="select2-selection__choice__remove" role="presentation">' +
'<span class="select2-selection__choice__remove" role="presentation" aria-hidden="true">' +
'&times;' +
'</span>' +
'</li>'
......
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