change buttons that act as links to anchor tags
Buttons and links are different and serve different purposes. Links _go somewhere_ while buttons _do something_. When I click on a movie title to _go to_ the movie page the thing I click should act like a link. If I ctrl+click or middle click it it should still act like a link... by opening in a new tab.
This commit is contained in:
@@ -785,7 +785,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) {
|
||||
|
||||
Reference in New Issue
Block a user