Skip to content

Commit

Permalink
improve? accessibility for screen readers
Browse files Browse the repository at this point in the history
  • Loading branch information
tasxatzial committed Apr 19, 2024
1 parent bfd0d56 commit 6af9f73
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
<title>Click and hold buttons</title>
</head>
<body>
<div class="transition click-and-hold" tabindex="0">
<div class="transition click-and-hold" tabindex="0" aria-label="click and hold button" role="application">
<div class="btn-fill"></div>
<p>Animation using CSS transition</p>
</div>
<div class="animation-frame click-and-hold" tabindex="0">
<div class="animation-frame click-and-hold" tabindex="0" aria-label="click and hold button" role="application">
<div class="btn-fill"></div>
<p>Animation using request animation frame</p>
</div>
Expand Down

0 comments on commit 6af9f73

Please sign in to comment.