Note - Posted on

Today I learned, elements with a positive tabindex value are focused first, from the lowest value up, before tabindex=“0” in sequential keyboard navigation.

Also, via MDN’s reference page on tabindex HTML global attribute:

Some focusable HTML elements have a default tabindex value of 0 set under the hood by the user agent. These elements are an <a> or <area> with href attribute, <button>, <frame> , <iframe>, <input>, <object>, <select>, <textarea>, and SVG <a> element, or a <summary> element that provides summary for a <details> element.

Posted on

← Backto the previous page