tabIndex attribute getter returns 0 instead of -1 for elements without explicit tabindex

Won’t fix Issue #4365703


Aug 25, 2015
This issue is public.
Reported by 0 people

Sign in to watch or report this issue.

Steps to reproduce


Repro Steps:

Expected Results:

A <div> element with no explicit tabindex HTML attribute should have a value of 0 for its tabIndex property when using Javascript. In other words, the following javascript snippet prints '-1’ in every other browser:

var foo = document.createElement(‘div’);
console.log(foo.tabIndex); // Expected: -1. Actual: 0

Actual Results:

Dev Channel specific:



0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “Mara P.”

      Changed Assigned To to “Hari K.”

      Changed Assigned To from “Hari K.” to “IE S.”

      Changed Status to “Won’t fix”

      Changed Assigned To to “Ke X.”

      Changed Status from “Won’t fix”

      Changed Assigned To from “Ke X.” to “IE S.”

      Changed Status to “Won’t fix”

    You need to sign in to your Microsoft account to add a comment.

    Sign in