Skip to content
Permalink
Browse files

Might as well have an aria-label here too

  • Loading branch information...
philwareham committed Apr 15, 2019
1 parent b989f0b commit 01978da549613f062d853fc066e2097def00fb79
Showing with 8 additions and 6 deletions.
  1. +4 −3 textpattern/admin-themes/hive/hive.php
  2. +4 −3 textpattern/admin-themes/hiveneutral/hiveneutral.php
@@ -87,9 +87,10 @@ function header()
$out[] = '</nav>';
$out[] = graf(
href(span(htmlspecialchars(get_pref('sitename')), array('class' => 'txp-view-site-name')), hu, array(
'rel' => 'noopener',
'target' => '_blank',
'title' => gTxt('tab_view_site'),
'rel' => 'noopener',
'target' => '_blank',
'title' => gTxt('tab_view_site'),
'aria-label' => gTxt('tab_view_site'),
)), array('class' => 'txp-view-site'));
$out[] = graf(
href(span(gTxt('lightswitch'), array('class' => 'ui-icon ui-icon-lightbulb')), '#', array(
@@ -87,9 +87,10 @@ function header()
$out[] = '</nav>';
$out[] = graf(
href(span(htmlspecialchars(get_pref('sitename')), array('class' => 'txp-view-site-name')), hu, array(
'rel' => 'noopener',
'target' => '_blank',
'title' => gTxt('tab_view_site'),
'rel' => 'noopener',
'target' => '_blank',
'title' => gTxt('tab_view_site'),
'aria-label' => gTxt('tab_view_site'),
)), array('class' => 'txp-view-site'));
$out[] = graf(
href(span(gTxt('lightswitch'), array('class' => 'ui-icon ui-icon-lightbulb')), '#', array(

0 comments on commit 01978da

Please sign in to comment.
You can’t perform that action at this time.