Skip to content
Permalink
Browse files

Accessibilty for lightbulb icon

  • Loading branch information...
philwareham committed Apr 15, 2019
1 parent 6d44f85 commit b989f0bd7755cc115558ea5dd5529d3080fc42da
@@ -93,8 +93,9 @@ function header()
)), array('class' => 'txp-view-site'));
$out[] = graf(
href(span(gTxt('lightswitch'), array('class' => 'ui-icon ui-icon-lightbulb')), '#', array(
'id' => 'lightswitch',
'title' => gTxt('lightswitch'),
'id' => 'lightswitch',
'title' => gTxt('lightswitch'),
'aria-label' => gTxt('lightswitch'),
)), array('class' => 'txp-lightswitch'));
$out[] = graf(
href(gTxt('logout'), 'index.php?logout=1', ' onclick="return verify(\''.gTxt('are_you_sure').'\')"'), array('class' => 'txp-logout'));
@@ -93,8 +93,9 @@ function header()
)), array('class' => 'txp-view-site'));
$out[] = graf(
href(span(gTxt('lightswitch'), array('class' => 'ui-icon ui-icon-lightbulb')), '#', array(
'id' => 'lightswitch',
'title' => gTxt('lightswitch'),
'id' => 'lightswitch',
'title' => gTxt('lightswitch'),
'aria-label' => gTxt('lightswitch'),
)), array('class' => 'txp-lightswitch'));
$out[] = graf(
href(gTxt('logout'), 'index.php?logout=1', ' onclick="return verify(\''.gTxt('are_you_sure').'\')"'), array('class' => 'txp-logout'));
@@ -354,6 +354,7 @@ keywords="Keywords"
label="Label"
last_modification="Last modification"
last_modified="Last modified"
lightswitch="Toggle light/dark mode"
link="Link"
links="Links"
list="List"
@@ -354,6 +354,7 @@ keywords="Keywords"
label="Label"
last_modification="Last modification"
last_modified="Last modified"
lightswitch="Toggle light/dark mode"
link="Link"
links="Links"
list="List"
@@ -354,6 +354,7 @@ keywords="Keywords"
label="Label"
last_modification="Last modification"
last_modified="Last modified"
lightswitch="Toggle light/dark mode"
link="Link"
links="Links"
list="List"

0 comments on commit b989f0b

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