WCAG 1.x compliance

This commit is contained in:
Squidly271 2022-04-03 12:46:57 -04:00
parent c10ac7e876
commit c0783758bc
5 changed files with 10 additions and 9 deletions

View File

@ -3,7 +3,7 @@ ba590517fb5ba5b262ff7c56f2d0293c ./Apps.page
42a1658a916a3a3eed2a9f2af80603c4 ./ca_settings.page
e718d7825dbdc96a17a915079222b098 ./default.cfg
f18b0009f23d94905d90c5355d2e83bb ./include/exec.php
a31856c2249edbc6c396b6f62540504c ./include/helpers.php
14c898d4efc0cc52d416b2dec1d83e32 ./include/helpers.php
d9b0dc98ee598d44633341ac199a43e0 ./include/paths.php
532fffdf939594c143e679da02bd841e ./javascript/libraries.js
71f911a818d88d3d567f8a2898094ee2 ./README.md
@ -20,5 +20,5 @@ da3b4f9b73c5c3bf65be6c42d68b51f9 ./scripts/showStatistics.php
4425f8fd4ef662a7dc65cee01de3e419 ./scripts/updatePLG.sh
34554a56611dfe625889c82afd5138de ./scripts/updatePluginSupport.php
0254b0a66007c3f6e32e7d259e8ee443 ./skins/Narrow/css.php
639c5146c5880a617fe15f603b1cffa3 ./skins/Narrow/skin.html
40af3aa0f51ad6823e935c692ac63135 ./skins/Narrow/skin.php
0d6d0fd063af8b0ec4664a93401d83a0 ./skins/Narrow/skin.html
280d65285b0647e0f2f2e532c8f96e88 ./skins/Narrow/skin.php

View File

@ -594,7 +594,7 @@ function languageCheck($template) {
$xmlFile = readXmlFile($installedLanguage,true);
if ( !$xmlFile['Version'] ) return false;
return (strcmp($template['Version'],$xmlFile['Version']) > 0) || (strcmp($OSupdates['Version'],$xmlFile['Version']) > 0);
}
######################

View File

@ -17,6 +17,7 @@
<li class='caMenuItem favouriteRepo onlyShowWithFeed'><?tr("Favourite Repo");?></li>
<hr class='onlyShowWithFeed'>
<ul class='caMenu'>
<span id='category_list' class='onlyShowWithFeed'></span>
<li class='categoryMenu caMenuItem allApps onlyShowWithFeed nonDockerSearch' data-category='All'><?tr("All Apps");?></li>
<hr class='category_hr'>

View File

@ -537,7 +537,7 @@ function getPopupDescriptionSkin($appNumber) {
$templateIcon = startsWith($template['IconFA'],"icon-") ? "{$template['IconFA']} unraidIcon" : "fa fa-{$template['IconFA']}";
$template['display_icon'] = "<i class='$templateIcon popupIcon'></i>";
} else
$template['display_icon'] = "<img class='popupIcon' src='{$template['Icon']}' onerror='this.src=&quot;/plugins/dynamix.docker.manager/images/question.png&quot;'>";
$template['display_icon'] = "<img class='popupIcon' src='{$template['Icon']}' onerror='this.src=&quot;/plugins/dynamix.docker.manager/images/question.png&quot;' alt='Application Icon'>";
if ( $template['Requires'] ) {
$template['Requires'] = Markdown(strip_tags(str_replace(["\r","\n","&#xD;"],["","<br>",""],trim($template['Requires'])),"<br>"));
@ -1081,7 +1081,7 @@ function displayCard($template) {
if ( ! $IconFA )
$card .= "
<img class='ca_displayIcon $imageNoClick' src='$Icon'></img>
<img class='ca_displayIcon $imageNoClick' src='$Icon' alt='Application Icon'></img>
";
else {
$displayIcon = $template['IconFA'] ?: $template['Icon'];
@ -1147,7 +1147,7 @@ function displayCard($template) {
if ( $RecommendedDate ) {
$card .= "
<div class='homespotlightIconArea ca_center''>
<div><img class='spotlightIcon' src='{$caPaths['SpotlightIcon']}'></img></div>
<div><img class='spotlightIcon' src='{$caPaths['SpotlightIcon']}' alt='Spotlight'></img></div>
<div class='spotlightDate'>".tr(date("M Y",$RecommendedDate),0)."</div>
</div>
";
@ -1301,7 +1301,7 @@ function displayPopup($template) {
$card .= "
<div class='spotlightPopup'>
<div class='spotlightIconArea ca_center'>
<div><img class='spotlightIcon' src='{$caPaths['SpotlightIcon']}'></img></div>
<div><img class='spotlightIcon' src='{$caPaths['SpotlightIcon']}' alt='Spotlight'></img></div>
<div class='spotlightDate'>".tr(date("M Y",$RecommendedDate),0)."</div>
</div>
<div class='spotlightInfoArea'>
@ -1394,7 +1394,7 @@ function displayPopup($template) {
<div class='popupInfoRight'>
<div class='popupAuthorTitle'>".($Plugin ? tr("Author") : tr("Maintainer"))."</div>
<div><div class='popupAuthor'>".($Plugin ? $Author : $RepoName)."</div>
<div class='popupAuthorIcon'><img class='popupAuthorIcon' src='$ProfileIcon' onerror='this.src=&quot;/plugins/dynamix.docker.manager/images/question.png&quot;'></img></div>
<div class='popupAuthorIcon'><img class='popupAuthorIcon' src='$ProfileIcon' onerror='this.src=&quot;/plugins/dynamix.docker.manager/images/question.png&quot;' alt='Repository Icon'></img></div>
</div>
<div class='ca_repoSearchPopUp popupProfile' data-repository='".htmlentities($Repo,ENT_QUOTES)."'>".tr("All Apps")."</div>
<div class='repoPopup' data-repository='".htmlentities($Repo,ENT_QUOTES)."'>".tr("Profile")."</div>