forked from team/site
1
0
Fork 0

fix accessibility warnings

This commit is contained in:
Ben Harris 2021-03-17 16:36:11 -04:00
parent 5e37843626
commit 61369c7ecc
3 changed files with 6 additions and 6 deletions

View File

@ -58,7 +58,7 @@ wiki::$bootstrap = wiki::$forkawesome = true;
<br> <br>
<hr> <hr>
<h3>tilde.team services</h3> <h2>tilde.team services</h2>
<?php include 'services.php'; ?> <?php include 'services.php'; ?>
@ -67,7 +67,7 @@ wiki::$bootstrap = wiki::$forkawesome = true;
<div class="row"> <div class="row">
<div class="col-md-6"> <div class="col-md-6">
<h1 id="news">~news~</h1> <h2 id="news">~news~</h2>
<?php foreach (array_slice(array_reverse(glob("news/pages/*.md")), 0, 4) as $page): <?php foreach (array_slice(array_reverse(glob("news/pages/*.md")), 0, 4) as $page):
$parsed = $parser->parse(file_get_contents($page)); $parsed = $parser->parse(file_get_contents($page));
@ -95,7 +95,7 @@ wiki::$bootstrap = wiki::$forkawesome = true;
</div> </div>
<div class="col-md-6"> <div class="col-md-6">
<h1 id="projects">~projects~</h1> <h2 id="projects">~projects~</h2>
<?php foreach (json_decode(file_get_contents("https://tildegit.org/api/v1/orgs/team/repos")) ?? [] as $repo): <?php foreach (json_decode(file_get_contents("https://tildegit.org/api/v1/orgs/team/repos")) ?? [] as $repo):
if ($repo->archived) continue; ?> if ($repo->archived) continue; ?>
@ -125,7 +125,7 @@ wiki::$bootstrap = wiki::$forkawesome = true;
<hr> <hr>
<div class="clearfix"> <div class="clearfix">
<h1 id="users">~users~</h1> <h2 id="users">~users~</h2>
<p><em><a href="/tilde.24h.html"><i class="fa fa-clock-o"></i> recent updates</a></em> | <a href="/users/">all users</a></p> <p><em><a href="/tilde.24h.html"><i class="fa fa-clock-o"></i> recent updates</a></em> | <a href="/users/">all users</a></p>
<p>if you're not listed here, make some changes to your page</p> <p>if you're not listed here, make some changes to your page</p>

View File

@ -28,7 +28,7 @@ issues that i've been wanting to fix for quite some time now
the ip address is the same and everything should be as you left it. please let me the ip address is the same and everything should be as you left it. please let me
know on irc or shoot an email if something is amiss. know on irc or shoot an email if something is amiss.
i have an ongoing list [here](/~ben/todo.txt) that i will update as i get things i have an [ongoing list](/~ben/todo.txt) that i will update as i get things
back up and running. back up and running.
another important note: python is now 3.8 by default and you will need to another important note: python is now 3.8 by default and you will need to

View File

@ -19,7 +19,7 @@ unset($navbar);
foreach ($services as $name => $service) { foreach ($services as $name => $service) {
if ($nav) { ?> if ($nav) { ?>
<li><a href="<?=$service["url"]?>"><i class="fa fa-<?=$service["fa"]?>"></i> <?=$name?></a></li> <li><a href="<?=$service["url"]?>" role="menuitem"><i class="fa fa-<?=$service["fa"]?>"></i> <?=$name?></a></li>
<?php } else { ?> <?php } else { ?>
<a href="<?=$service["url"]?>" class="btn btn-default"><i class="fa fa-<?=$service["fa"]?>"></i> <?=$name?></a> <a href="<?=$service["url"]?>" class="btn btn-default"><i class="fa fa-<?=$service["fa"]?>"></i> <?=$name?></a>
<?php } <?php }