From 3d603e1b689423475245ca5b91729e47baad5719 Mon Sep 17 00:00:00 2001 From: Sebastiaan de Schaetzen Date: Tue, 17 Jun 2025 10:36:39 +0200 Subject: [PATCH] Enhance accessibility and keyboard navigation for video controls and overlays --- static/index.html | 155 ++++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 144 insertions(+), 11 deletions(-) diff --git a/static/index.html b/static/index.html index 54db23e..6b0008f 100644 --- a/static/index.html +++ b/static/index.html @@ -151,6 +151,17 @@ cursor: pointer; accent-color: #3498db; /* Optional: color for the seek bar thumb and progress */ } + + /* Styles for TV remote focus indication */ + .video-thumbnail:focus, + #back-button:focus { + outline: 3px solid #3498db !important; /* A clear blue outline */ + box-shadow: 0 0 15px #3498db; /* A glow effect */ + } + + .nofocus:focus { + outline: none !important; /* Remove focus outline for elements with nofocus class */ + }
- Previous Video - Current Video - Next Video -
+ Previous Video + Current Video + Next Video +
- +
- - + +