tabindex, style :focus et bug associés pour accesibilité clavier (et visuelle au passage)
This commit is contained in:
1 parent
210b06d20f
commit
8639e7769f
6 files changed
+100
-39
No files matched your search
@@ -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"
|
||||
|
||||
Reference in new issue
Block a user