tabindex, style :focus et bug associés pour accesibilité clavier (et visuelle au passage)

This commit is contained in:
vgaNAR6ta committed 2026-09-28 22:35:45 +02:00
1 parent 210b06d20f
commit 8639e7769f
6 files changed
+100 -39

No files matched your search

+3
View File
@@ -39,9 +39,12 @@ function createEntry(title, date, html, style){
const newEntry = document.createElement('details');
const newSummary = document.createElement('summary');
newSummary.append(title, date);
newSummary.setAttribute('tabindex', '0');
newEntry.append(newSummary);
html.setAttribute('tabindex', '-1');
newEntry.append(html);
newEntry.name = "eventList"