Neova고급 SEO 플랫폼

HTML에 중복된 ID 값이 있음

Neova에서는 크롤링 자체에서 실행됩니다. 따로 설정할 것이 없습니다.

규칙 최종 검토: 2026년 10월 17일 · 가이드 업데이트: 2026년 7월 1일

HTML 표준은 문서 안에서 각 id가 고유해야 한다고 요구합니다. id가 반복되면 앵커 링크가 엉뚱한 곳으로 이동하고, 요소를 찾는 스크립트가 깨질 수 있습니다.

해 볼 수 있는 조치

요소마다 고유한 id를 부여하고, 그 id를 사용하는 앵커 링크, 스크립트, 스타일을 업데이트하세요.

Neova가 플래그를 지정하는 이유

  • HTML 표준은 문서 안에서 각 id가 고유해야 한다고 요구합니다.
  • 반복된 id는 앵커 링크를 엉뚱한 곳으로 보내고, 요소를 찾는 스크립트와 레이블을 깨뜨릴 수 있습니다.
  • ARIA 속성이 가리키는 id가 반복되면 보조 기술이 잘못된 레이블이나 설명을 읽을 수 있습니다.

출처

전체 가이드

이 부분은 현재 영어로만 제공됩니다.

Element Code: PE-036

TL;DR: Any tabindex value of 1 or higher hijacks the keyboard tab order away from natural document order. It feels like a shortcut when you set it, then breaks the moment someone adds a new field or button. Stick to tabindex="0" and tabindex="-1", and fix the actual DOM order if focus feels wrong.
Issue Type
Accessibility / keyboard nav
WCAG Ref
2.4.3, technique F44
Detection
axe, Lighthouse, manual Tab test
Fix Effort
Low to medium
Who Feels It
Keyboard and screen reader users

What "High tabindex Values" Means

The tabindex attribute controls whether an element can receive keyboard focus and, if you use a positive integer, what order it gets focused in relative to everything else on the page. There are three real categories: tabindex="0" adds an element to the natural tab order at its position in the DOM, exactly where a native focusable element like a link or button would sit. tabindex="-1" makes an element programmatically focusable, for example so you can move focus to it with JavaScript, without putting it in the regular Tab key sequence at all. Anything tabindex="1" or higher pulls that element out of natural order entirely and forces the browser to visit it before any element with tabindex 0 or no tabindex, in ascending numeric order.

That third category is what this check flags. A developer sees a form where the visual layout does not match the source order, so they slap tabindex="1", tabindex="2", tabindex="3" on fields to force the tab sequence to match what they see on screen. It works, for that one form, on that one day. The moment someone inserts a new field between two numbered ones, or copies the pattern into a second form on the same page, the numbering collides or gaps out and the tab order turns into a mess that is often worse than doing nothing at all.

Why It Matters for Accessibility and, Indirectly, SEO

WCAG Success Criterion 2.4.3, Focus Order, requires that when a page can be navigated sequentially, the focus order preserves meaning and operability. Technique F44 in the WCAG 2.0 techniques documents this exact failure: using tabindex to force a tab order that does not match the logical, meaningful sequence of the content (source: W3C, WCAG20-TECHS/F44). Keyboard-only users, many screen reader users, and switch-device users rely entirely on a predictable tab order to operate a page. When positive tabindex values scramble that order, users get thrown to unrelated parts of the page mid-task, or worse, get stuck cycling through a small subset of elements while whole sections become unreachable in sequence.

This is not a direct Google ranking factor, but it sits inside the same bucket Google increasingly cares about at the page-experience level: is the page actually usable. I have also seen positive tabindex act as a proxy signal for a deeper structural problem, if the DOM order does not match the visual order badly enough that someone reached for tabindex hacks to fix it, that same mismatched order can also confuse how crawlers and AI parsers read the content sequence, not just how screen readers do. Fix the DOM, not just the tabindex, and you tend to clean up both problems at once.

How to Detect It

  1. axe DevTools or axe-core: the "elements should not have tabindex greater than zero" rule catches this directly, flags the exact node and value.
  2. Lighthouse accessibility audit: Chrome DevTools surfaces the same rule under its Accessibility category, good for a quick per-page check.
  3. Screaming Frog: custom search for the regex pattern matching tabindex=["'][1-9] across a full site crawl, this is the only practical way to find every offending template or component at scale rather than page by page.
  4. Manual keyboard test: unplug the mouse, mentally, and Tab through the page from the top. If focus jumps somewhere unexpected, or skips visible interactive elements, you likely have a positive tabindex or a genuinely broken DOM order.
  5. Sitebulb: its accessibility hints module flags tabindex anomalies alongside other keyboard-navigation issues in the same crawl report, useful if you are already running Sitebulb for other technical audits.

Positive tabindex: forced, brittle order tabindex=3 tabindex=1 tabindex=2 ?! Tab order jumps: 2nd field, then 1st, then 3rd tabindex 0 / natural order: predictable Field A Field B Field C

How to Fix It, Step by Step

  1. Find every positive tabindex on the site using the Screaming Frog custom search regex above, and log the source template or component for each hit.
  2. Remove the numeric value. For elements that are natively focusable (links, buttons, inputs), you usually need nothing at all, they already sit in the tab order at their DOM position.
  3. If the tab order still feels wrong after removing the tabindex hack, that means the DOM order itself does not match the visual order. Fix the actual source order of the elements, or restructure the layout with CSS (flexbox or grid order properties change visual position without touching DOM or focus order) instead of reaching for tabindex again.
  4. For custom interactive widgets, non-native elements you have made clickable with JavaScript, use tabindex="0" to add them to natural tab order at their DOM position, then also make sure they respond to Enter and Space keys, not just Tab.
  5. Use tabindex="-1" only for elements you want to move focus to programmatically (a modal heading after it opens, an error summary after a failed form submit), never as a substitute for 0.
  6. Re-test with an actual Tab-key walkthrough after the fix, plus re-run axe to confirm zero positive tabindex values remain sitewide.
Value Behavior When to Use It
tabindex="-1" Focusable via script only, skipped by Tab key Moving focus programmatically, e.g. to a modal or error summary
No tabindex, native element Naturally focusable at DOM position Links, buttons, inputs, selects, textareas
tabindex="0" Added to natural tab order at DOM position Custom widgets that need to be keyboard focusable
tabindex="1" or higher Forces a fixed order ahead of everything else Essentially never, this is the pattern to remove
DO

  • Use tabindex="0" for custom interactive elements
  • Use tabindex="-1" for programmatic focus targets only
  • Fix DOM order or use CSS layout properties instead of forcing tab order
  • Test with an actual keyboard, not just automated scanners
  • Add matching Enter/Space key handling to any custom widget you make focusable
DON'T

  • Use tabindex values of 1 or higher to force order
  • Assume the fix scales, it breaks the moment content changes
  • Rely on automated tools alone, some ambiguous cases need a manual pass
  • Make a div "clickable" without also giving it tabindex 0 and keyboard handlers
  • Copy a numbered tabindex pattern into a second form on the same page

What Good Tab Order Looks Like

Nobody on the team ever needs to write a number higher than zero into a tabindex attribute. Custom widgets get tabindex="0" plus proper key handling, focus-management targets get tabindex="-1", and everything else just works because native elements are focusable by default and the DOM order actually matches the visual and logical order of the page. Tabbing through any page top to bottom follows the same path a sighted mouse user would follow reading top to bottom, left to right, with no surprise jumps and no dead ends.

FAQ

Is tabindex="0" Ever Wrong to Use?
It is wrong on elements that are already natively focusable, like links and buttons, since it is redundant there. It is right on custom, non-native widgets like a div acting as a button, where you need to explicitly add it to the tab order.
Why Does a Positive tabindex "Break" Over Time If It Worked When I Wrote It?
Because it hardcodes a sequence number instead of describing a relationship. Any new field, button, or component added later either needs a manually renumbered tabindex sequence too, or it collides with existing numbers and creates gaps or duplicates, which most teams simply forget to maintain.
My Visual Layout Does Not Match My DOM Order, What Should I Use Instead of tabindex?
Reorder the DOM to match logical reading order, then use CSS Grid or Flexbox order properties to control visual position independently. That way visual layout and keyboard order can differ intentionally without one hacking around the other.
Does This Affect Screen Reader Users the Same Way as Keyboard-Only Users?
Mostly yes for screen reader users navigating linearly with Tab, though many also browse by headings or landmarks and are less exposed to a scrambled tab order in those modes. Keyboard-only sighted users and switch-device users are the most consistently affected since Tab is often their primary navigation method.
Will Fixing This Show up in Lighthouse's Accessibility Score?
Yes, the tabindex-greater-than-zero rule is part of Lighthouse's automated accessibility audit, so removing positive values will resolve that specific flag. It is one rule among many though, do not treat a clean Lighthouse score as proof the whole page is accessible.
Want a full keyboard-navigation and accessibility pass, not just this one check? Our covers tab order, focus management, and the crawlability issues that often share the same root cause.

내 사이트에서 찾아보기

Neova는 크롤링할 때마다 이 점검과 다른 모든 점검을 실행하고, 수정 방법을 팀을 위한 티켓으로 작성합니다.

  • Mac, Windows, Linux용 데스크톱 앱
  • 출처가 함께 있는 696개 점검 전체
  • Search Console과 Analytics 4를 읽기 전용으로 연결
  • Jira, Linear, Asana로 티켓 보내기

Neova 다운로드 Desktop Free 플랜 또는 Solo 14일 무료, 카드 불필요.

콘텐츠 점검 전체 · 가이드 · 점검 라이브러리

작성: Neova Labs · 점검 라이브러리로 돌아가기