Commit 24a27e88 authored by Liam Sharpe's avatar Liam Sharpe Committed by Robert Lyon
Browse files

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

behatnotneeded

Change-Id: I01dc196e0c9931d5cb4be926e7d3c8ce17e06546
parent 99947132
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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
+2 −2
Original line number Diff line number Diff line
@@ -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>'
    );

+3 −3
Original line number Diff line number Diff line
@@ -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>'