Skip to content

Commit

Permalink
fix: add missing accessibility attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
AlejandroAkbal committed Jun 26, 2021
1 parent 1131ff3 commit a726780
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion components/pages/posts/post/Post.vue
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
<div class="flex overflow-hidden">
<button
type="button"
:aria-expanded="idState.isActive"
aria-label="Toggle tags panel"
:aria-expanded="idState.isActive"
class="relative w-full h-auto pointer-events-auto group"
@click="toggleTags"
@keydown.enter="toggleTags"
Expand Down Expand Up @@ -70,8 +70,10 @@
<button
type="button"
aria-label="Toggle tags panel"
:aria-expanded="idState.isActive"
class="p-1 bg-black border border-transparent rounded-lg pointer-events-auto bg-opacity-40 group focus:focus-util"
@click="toggleTags"
@keydown.enter="toggleTags"
>
<TagIcon
class="w-5 h-5 text-gray-200 transition-colors duration-300 icon group-hover:text-white"
Expand Down

0 comments on commit a726780

Please sign in to comment.