A clean and minimal youtube frontend, without all the ads and whistles
JavaScript
feat: accessible channels filters with keyboard
Christian Fei334b1f4c8e73
diff --git a/client/components/channels-list.js b/client/components/channels-list.jsindex 22af758..90b9185 100644--- a/client/components/channels-list.js+++ b/client/components/channels-list.js@@ -37,7 +37,7 @@ class ChannelsList extends HTMLElement {this.innerHTML = /*html*/`<details class="channels-container"><summary>Channels</summary>- <div>${this.channels.map(channel => /*html*/`<span data-channel="${channel}" class="channel">${channel}</span>`).join('')}</div>+ <div>${this.channels.map(channel => /*html*/`<span tabindex=0 data-channel="${channel}" class="channel">${channel}</span>`).join('')}</div></details>`this.registerEvents()