Improve accessibility across layouts, components, and forms (#2799)

This commit is contained in:
Paweł Kuna
2026-08-05 23:40:37 +02:00
committed by GitHub
parent 17d2363ef2
commit 1effe221cb
160 changed files with 1494 additions and 1092 deletions
+6 -6
View File
@@ -10,13 +10,13 @@ const { icon = 'dots-vertical', class: className } = Astro.props
---
<div class:list={['dropdown', className]}>
<a href="#" class="btn btn-action" data-bs-toggle="dropdown" aria-expanded="false">
<button type="button" class="btn btn-action" data-bs-toggle="dropdown" aria-expanded="false" aria-label="More actions">
<Icon name={icon} />
</a>
</button>
<div class="dropdown-menu dropdown-menu-end">
<a href="#" class="dropdown-item">Import</a>
<a href="#" class="dropdown-item">Export</a>
<a href="#" class="dropdown-item">Download</a>
<a href="#" class="dropdown-item text-danger">Delete</a>
<button type="button" class="dropdown-item">Import</button>
<button type="button" class="dropdown-item">Export</button>
<button type="button" class="dropdown-item">Download</button>
<button type="button" class="dropdown-item text-danger">Delete</button>
</div>
</div>