diff options
author | Morris Jobke <hey@morrisjobke.de> | 2014-12-19 00:30:56 +0100 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2014-12-19 00:30:56 +0100 |
commit | 3036a8714d67c7d9fa0fc6fc6bdfdce1a090f1d9 (patch) | |
tree | b67257d9c33e862ee7ffb83305796ba91dc4d5ea /settings/templates/personal.php | |
parent | 114a6464e87294c27e4967e74b1e3372cf4e92fa (diff) | |
parent | cd81687a38c4f46c6665e640a352ba7adcd1f243 (diff) | |
download | nextcloud-server-3036a8714d67c7d9fa0fc6fc6bdfdce1a090f1d9.tar.gz nextcloud-server-3036a8714d67c7d9fa0fc6fc6bdfdce1a090f1d9.zip |
Merge pull request #12941 from owncloud/wave-accessibility-compliance
Wave accessibility compliance
Diffstat (limited to 'settings/templates/personal.php')
-rw-r--r-- | settings/templates/personal.php | 21 |
1 files changed, 15 insertions, 6 deletions
diff --git a/settings/templates/personal.php b/settings/templates/personal.php index 913c5803f6d..ad61f398b1c 100644 --- a/settings/templates/personal.php +++ b/settings/templates/personal.php @@ -24,13 +24,16 @@ <div class="clientsbox center"> <h2><?php p($l->t('Get the apps to sync your files'));?></h2> <a href="<?php p($_['clients']['desktop']); ?>" target="_blank"> - <img src="<?php print_unescaped(OCP\Util::imagePath('core', 'desktopapp.png')); ?>" /> + <img src="<?php print_unescaped(OCP\Util::imagePath('core', 'desktopapp.png')); ?>" + alt="<?php p($l->t('Desktop client'));?>" /> </a> <a href="<?php p($_['clients']['android']); ?>" target="_blank"> - <img src="<?php print_unescaped(OCP\Util::imagePath('core', 'googleplay.png')); ?>" /> + <img src="<?php print_unescaped(OCP\Util::imagePath('core', 'googleplay.png')); ?>" + alt="<?php p($l->t('Android app'));?>" /> </a> <a href="<?php p($_['clients']['ios']); ?>" target="_blank"> - <img src="<?php print_unescaped(OCP\Util::imagePath('core', 'appstore.png')); ?>" /> + <img src="<?php print_unescaped(OCP\Util::imagePath('core', 'appstore.png')); ?>" + alt="<?php p($l->t('iOS app'));?>" /> </a> <?php if (OC_Util::getEditionString() === ''): ?> @@ -89,7 +92,9 @@ if($_['passwordChangeSupported']) { if($_['displayNameChangeSupported']) { ?> <form id="displaynameform" class="section"> - <h2><?php echo $l->t('Full Name');?></h2> + <h2> + <label for="displayName"><?php echo $l->t('Full Name');?></label> + </h2> <input type="text" id="displayName" name="displayName" value="<?php p($_['displayName'])?>" autocomplete="on" autocapitalize="off" autocorrect="off" /> @@ -104,7 +109,9 @@ if($_['displayNameChangeSupported']) { if($_['passwordChangeSupported']) { ?> <form id="lostpassword" class="section"> - <h2><?php p($l->t('Email'));?></h2> + <h2> + <label for="email"><?php p($l->t('Email'));?></label> + </h2> <input type="email" name="email" id="email" value="<?php p($_['email']); ?>" placeholder="<?php p($l->t('Your email address'));?>" autocomplete="on" autocapitalize="off" autocorrect="off" /> @@ -139,7 +146,9 @@ if($_['passwordChangeSupported']) { <?php endif; ?> <form class="section"> - <h2><?php p($l->t('Language'));?></h2> + <h2> + <label for="languageinput"><?php p($l->t('Language'));?></label> + </h2> <select id="languageinput" name="lang" data-placeholder="<?php p($l->t('Language'));?>"> <option value="<?php p($_['activelanguage']['code']);?>"> <?php p($_['activelanguage']['name']);?> |