diff options
| author | Ben Beltran <ben@nsovocal.com> | 2020-01-26 16:49:20 +0100 |
|---|---|---|
| committer | Ben Beltran <ben@nsovocal.com> | 2020-01-26 16:49:20 +0100 |
| commit | 8d2ed7debf232843c1facf53fd1efdab9b36d85c (patch) | |
| tree | cabc7c5538d3232504046f59bceb496400bae21e /app | |
| parent | 66dc4cae4cd37e82d773dc30be046d82d380ec4d (diff) | |
Make permalinks more legible
In chrome the time will be read out as a "group, editable"
so adding the role presentation helps it read out correctly
with VoiceOver.
Diffstat (limited to 'app')
| -rw-r--r-- | app/components/topic/topic.svelte | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/components/topic/topic.svelte b/app/components/topic/topic.svelte index 367a5b8..3816bbc 100644 --- a/app/components/topic/topic.svelte +++ b/app/components/topic/topic.svelte @@ -7,7 +7,7 @@ <aside class="topic-meta" title="Topic metadata"> <span class="topic-location">Posted on <a href="/f/interaction" class="p-category">Interaction</a>.</span> - <span class="topic-ttl"><a class="u-url u-uid" href="/t/2a3fc567af8c897ca6f55fb5fj">3 days remaining</a>.</span> + <span class="topic-ttl"><a class="u-url u-uid" title="Permalink to topic" href="/t/2a3fc567af8c897ca6f55fb5fj">3 days remaining</a>.</span> </aside> <aside class="topic-tags" title="Topic Tags"> Tags: @@ -21,8 +21,8 @@ <span class="h-card"> By: <a href="/a/rbdr" class="p-nickname u-url">rbdr</a>. </span> - <time class="dt-published" datetime="2018-08-14T03:32:10.929Z"> - <a href="/p/a80c70ea0120387123097ce1907ff"> + <time role="presentation" class="dt-published" datetime="2018-08-14T03:32:10.929Z"> + <a title="Permalink to post" href="/p/a80c70ea0120387123097ce1907ff"> 2018-08-14 03:32:10 </a> </time> |