Neova고급 SEO 플랫폼

목록 항목이 ul, ol 또는 menu 밖에 있음

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

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

WCAG 1.3.1은 구조를 코드에서 사용할 수 있도록 요구합니다. 목록 밖의 목록 항목은 스크린 리더가 목록의 일부로 읽어 주지 않습니다.

해 볼 수 있는 조치

li 요소를 ul, ol 또는 menu로 감싸거나, 콘텐츠가 목록이 아니라면 다른 요소를 쓰세요.

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

  • ul, ol, menu 밖의 li는 목록 항목으로 노출되지 않아, 스크린 리더가 '목록, 5개 항목'이라고 알려 주지 않습니다.
  • HTML 표준은 li를 ul, ol, menu 안에서만 허용하므로, 잘못된 마크업이기도 합니다.
  • WCAG 1.3.1(A 수준)은 시각적으로 보이는 구조가 코드에도 있어야 한다고 요구합니다.

출처

전체 가이드

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

What This Check Flags

This check fails when an <li> element sits outside a proper list container — not directly inside a <ul>, <ol>, or <menu> parent. That breaks the HTML contract for lists: a list item only means "item in a list" when it lives inside one. Orphaned <li> elements are invalid markup, and screen readers lose the "list of 5 items" context that helps users navigate and understand grouped content.

The practical damage is that assistive tech can no longer announce list size or position ("item 2 of 5"), and users lose the ability to jump list-to-list. It is a small structural slip with an outsized effect on how navigable your grouped content is.

A Real Failing Example, and the Fix

The most common cause is a wrapper element wedged between the list and its items — a <div> added for styling that severs the required parent-child relationship:

<!-- Broken: a div sits between <ul> and its <li>s -->
<ul class="features">
  <div class="row">
    <li>Automated crawling</li>
    <li>Scheduled reports</li>
    <li>Issue prioritization</li>
  </div>
</ul>

Here the <li> elements are children of a <div>, not the <ul>, so they are orphaned. The <li> must be a direct child of the list. Remove the intermediate wrapper; if you need a flex or grid row, style the <ul> itself:

<ul class="features row">   <!-- style the list directly -->
  <li>Automated crawling</li>
  <li>Scheduled reports</li>
  <li>Issue prioritization</li>
</ul>

<style>
  .features.row { display: flex; gap: 1rem; list-style: none; }
</style>

The other frequent offender is a lone <li> pasted into flowing content with no list around it at all — often a copy-paste leftover. If it is genuinely a single item, it probably should not be an <li>; if it belongs to a list, wrap it (and its siblings) in a <ul> or <ol>.

What Is (And Is Not) Valid List Structure

The rule is stricter than "an li somewhere near a ul." This table lays out what passes:

Structure Valid? Note
<ul> → <li> Yes Unordered list, item is a direct child
<ol> → <li> Yes Ordered list, item is a direct child
<menu> → <li> Yes Also a valid list parent for li
<ul> → <div> → <li> No Wrapper breaks the direct relationship
<li> with no list parent No Orphaned item, invalid
<ul> → <li> → nested <ul> Yes Nested lists go inside an li, not between
<ul> → <script>/<template> Yes These are the only other permitted ul children

Nesting is the subtlety worth calling out: a sub-list belongs inside a parent <li>, not floating between the parent list and its items. Getting that wrong is another way to orphan an <li>.

How to Detect It

  1. Run an HTML validator (the W3C Nu checker or an automated a11y tool). Orphaned <li> and illegal <ul>/<ol> children are reported as parent/child errors.
  2. Run axe or Lighthouse; the "list items must be contained in ul/ol" and "lists contain only li" rules catch both directions of the problem.
  3. Search your templates for a <div> or other element sitting directly inside a <ul>/<ol> — the classic styling-wrapper culprit.
  4. Inspect the rendered DOM, since JavaScript components (especially framework loops) sometimes inject wrapper nodes that split the list from its items.
  5. Grep for stray <li> tags in content that was pasted or migrated, where the surrounding <ul> may have been dropped.

How to Fix It

  1. Make every <li> a direct child of a <ul>, <ol>, or <menu> — delete any wrapper element between them.
  2. Need a flex/grid layout? Apply display to the list element itself instead of introducing an inner container.
  3. For nested lists, place the child <ul>/<ol> inside a parent <li>, never directly under the outer list.
  4. Wrap any orphaned <li> in a real list container, or convert it to the correct element (a paragraph, for instance) if it was never a list item to begin with.
  5. Re-validate the page to confirm no orphaned items or illegal list children remain.

FAQ

Can I Put a Div Inside a Ul to Group Items?

No. The only elements HTML permits as direct children of <ul> and <ol> are <li>, plus <script> and <template>. A grouping <div> orphans the items it contains. If you need layout, style the list or the items directly with flexbox or grid.

How Do I Do a Multi-Column or Flex List Layout Then?

Apply display: flex or display: grid to the <ul> itself and let the <li> children flow into columns. You almost never need an intermediate wrapper to lay a list out — CSS on the list handles it while keeping the markup valid.

Where Do Nested Lists Go?

Inside a parent <li>. A sub-list is content belonging to a list item, so the nested <ul> or <ol> goes within that <li> — not between the outer list and its items, which would orphan them.

What If I Only Have One Item — Can It Be a Bare Li?

A single item still needs a list parent if you want list semantics; a one-item <ul> is valid. But if it is truly a standalone line of content, it probably should not be an <li> at all — use a paragraph or the appropriate element instead.

Does This Affect SEO?

Indirectly. Broken list structure is invalid HTML, and clean, semantic markup helps crawlers parse and understand grouped content — the same well-formed structure that helps screen readers. It sits alongside other structural checks like not faking headings with bold text. For the wider picture, see accessibility and SEO.

내 사이트에서 찾아보기

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

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

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

접근성 점검 전체 · 가이드 · 점검 라이브러리

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