Skip to content

Commit

Permalink
Enhance button accessibility for a better user experience.
Browse files Browse the repository at this point in the history
  • Loading branch information
KoptevAnton committed Aug 5, 2024
1 parent 6325888 commit 7c2c209
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/partials/faq.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ <h2 class="title-faq">FAQ</h2>
<li class="list-faq">
<h3 class="title-list">
What programming languages are most often used in your project?
<button class="toggle-btn" aria-expanded="false">
<button class="toggle-btn" aria-expanded="Toggle FAQ section">
<svg class="icon icon-open" width="20" height="20">
<use href="./img/icons.svg#expand"></use>
</svg>
Expand All @@ -23,7 +23,7 @@ <h3 class="title-list">
<li class="list-faq">
<h3 class="title-list">
What are the deadlines for the project?
<button class="toggle-btn" aria-expanded="false">
<button class="toggle-btn" aria-expanded="Toggle FAQ section">
<svg class="icon icon-open" width="20" height="20">
<use href="./img/icons.svg#expand"></use>
</svg>
Expand All @@ -43,7 +43,7 @@ <h3 class="title-list">
<li class="list-faq">
<h3 class="title-list">
What payment methods do you accept?
<button class="toggle-btn" aria-expanded="false">
<button class="toggle-btn" aria-expanded="Toggle FAQ section">
<svg class="icon icon-open" width="20" height="20">
<use href="./img/icons.svg#expand"></use>
</svg>
Expand All @@ -61,7 +61,7 @@ <h3 class="title-list">
<li class="list-faq">
<h3 class="title-list">
How can I contact you?
<button class="toggle-btn" aria-expanded="false">
<button class="toggle-btn" aria-expanded="Toggle FAQ section">
<svg class="icon icon-open" width="20" height="20">
<use href="./img/icons.svg#expand"></use>
</svg>
Expand All @@ -79,7 +79,7 @@ <h3 class="title-list">
<li class="list-faq">
<h3 class="title-list">
Do you provide advice or support?
<button class="toggle-btn" aria-expanded="false">
<button class="toggle-btn" aria-expanded="Toggle FAQ section">
<svg class="icon icon-open" width="20" height="20">
<use href="./img/icons.svg#expand"></use>
</svg>
Expand All @@ -100,7 +100,7 @@ <h3 class="title-list">
<h3 class="title-list">
What does the process of developing a software product look like from
idea to implementation?
<button class="toggle-btn last" aria-expanded="false">
<button class="toggle-btn last" aria-expanded="Toggle FAQ section">
<svg class="icon icon-open" width="20" height="20">
<use href="./img/icons.svg#expand"></use>
</svg>
Expand Down

0 comments on commit 7c2c209

Please sign in to comment.