Skip to content

Commit

Permalink
YKI(Frontend): Try to make screen readers ignore br-tag [deploy]
Browse files Browse the repository at this point in the history
  • Loading branch information
pkoivisto committed Oct 12, 2023
1 parent 366695f commit 783990b
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ const renderAdmissionPeriod = ({
return (
<span aria-label={`${startTimeStr}${endTimeStr}`}>
{startTimeStr}
<br />
<br aria-hidden={true} />
{endTimeStr}
</span>
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,9 @@ Array [
>
6/1/2023 klo 10.00
<br />
<br
aria-hidden={true}
/>
8/1/2023 klo 16.00
</span>
</td>
Expand Down Expand Up @@ -299,7 +301,9 @@ Array [
>
8/1/2023 klo 10.00
<br />
<br
aria-hidden={true}
/>
9/1/2024 klo 16.00
</span>
</td>
Expand Down Expand Up @@ -383,7 +387,9 @@ Array [
>
12/1/2030 klo 10.00
<br />
<br
aria-hidden={true}
/>
12/10/2039 klo 16.00
</span>
</td>
Expand Down Expand Up @@ -441,7 +447,9 @@ Array [
>
12/3/2025 klo 10.00
<br />
<br
aria-hidden={true}
/>
12/14/2039 klo 16.00
</span>
</td>
Expand Down Expand Up @@ -499,7 +507,9 @@ Array [
>
2/1/2019 klo 10.00
<br />
<br
aria-hidden={true}
/>
2/28/2039 klo 16.00
</span>
</td>
Expand Down Expand Up @@ -583,7 +593,9 @@ Array [
>
2/1/2019 klo 10.00
<br />
<br
aria-hidden={true}
/>
2/28/2039 klo 16.00
</span>
</td>
Expand Down Expand Up @@ -667,7 +679,9 @@ Array [
>
2/1/2019 klo 10.00
<br />
<br
aria-hidden={true}
/>
2/28/2029 klo 16.00
</span>
</td>
Expand Down Expand Up @@ -751,7 +765,9 @@ Array [
>
2/1/2019 klo 10.00
<br />
<br
aria-hidden={true}
/>
2/28/2039 klo 16.00
</span>
</td>
Expand Down Expand Up @@ -835,7 +851,9 @@ Array [
>
2/1/2019 klo 10.00
<br />
<br
aria-hidden={true}
/>
2/28/2039 klo 16.00
</span>
</td>
Expand Down Expand Up @@ -893,7 +911,9 @@ Array [
>
11/1/2020 klo 10.00
<br />
<br
aria-hidden={true}
/>
12/2/2020 klo 16.00
</span>
</td>
Expand Down

0 comments on commit 783990b

Please sign in to comment.