Merge pull request #17318 from agh1/aria-hidden-icon
authorSeamus Lee <seamuslee001@gmail.com>
Fri, 22 May 2020 20:54:50 +0000 (06:54 +1000)
committerGitHub <noreply@github.com>
Fri, 22 May 2020 20:54:50 +0000 (06:54 +1000)
Make all icons aria-hidden

1  2 
templates/CRM/Event/Page/DashBoard.tpl
templates/CRM/Event/Page/ManageEvent.tpl

index 5f9751d7c3ad1c6d24283782965dc7676835472d,5adabbf381d8d0bb7548052efcdc25050dd7c69b..b5db9cad5ec587cfcd92b90f003643aa2e409f4b
  {* CiviEvent DashBoard (launch page) *}
  {capture assign=newEventURL}{crmURL p="civicrm/event/add" q="action=add&reset=1"}{/capture}
  {capture assign=configPagesURL}{crmURL p="civicrm/event/manage" q="reset=1"}{/capture}
 -{capture assign=icalFile}{crmURL p='civicrm/event/ical' q="reset=1" fe=1 a=1}{/capture}
 -{capture assign=icalFeed}{crmURL p='civicrm/event/ical' q="reset=1&list=1" fe=1 a=1}{/capture}
 -{capture assign=rssFeed}{crmURL p='civicrm/event/ical' q="reset=1&list=1&rss=1" fe=1 a=1}{/capture}
 -{capture assign=htmlFeed}{crmURL p='civicrm/event/ical' q="reset=1&list=1&html=1" fe=1 a=1}{/capture}
  
  {if $eventSummary.total_events}
-     <a href="{$configPagesURL}" class="button no-popup"><span><i class="crm-i fa-th-list"></i> {ts}Manage Events{/ts}</span></a>
-     <a href="{$newEventURL}" class="button"><span><i class="crm-i fa-calendar-plus-o"></i> {ts}New Event{/ts}</span></a>
+     <a href="{$configPagesURL}" class="button no-popup"><span><i class="crm-i fa-th-list" aria-hidden="true"></i> {ts}Manage Events{/ts}</span></a>
+     <a href="{$newEventURL}" class="button"><span><i class="crm-i fa-calendar-plus-o" aria-hidden="true"></i> {ts}New Event{/ts}</span></a>
      <div class="clear">&nbsp;</div>
      <h3 id="crm-event-dashboard-heading">{ts}Event Summary{/ts}
        {help id="id-event-intro"}