Merge pull request #3479 from davidmurdoch/fix/buttons-arent-for-links

Change buttons that act as links to anchor tags
This commit is contained in:
Bill Thornton
2022-04-19 16:42:13 -04:00
committed by GitHub
3 changed files with 11 additions and 5 deletions
+1 -1
View File
@@ -791,7 +791,7 @@ function renderDetailImage(elem, item, imageLoader) {
imageLoader.lazyChildren(elem);
// Avoid breaking the design by preventing focus of the poster using the keyboard.
elem.querySelector('button').tabIndex = -1;
elem.querySelector('a').tabIndex = -1;
}
function renderImage(page, item) {