THE GITHTML FIELD GUIDE
Preserve list semantics after removing visual bullets
Check list semantics in Safari and VoiceOver when list-style: none removes visual markers. Some combinations can stop exposing the structure as a list. Retain native list markup, consider an explicit list role when needed for the styling, and verify the actual announcement rather than assuming a bulletless design preserves every accessibility behavior.
Understand the access barrier
A set of related items can look like separate cards while still benefiting from list navigation and an announced item count. Removing markers for visual reasons should not erase that relationship unintentionally.
Use a deliberate document pattern
Use ul or ol according to whether order matters. If the design requires no markers, test the result and use an appropriate role where needed. Do not add list roles to arbitrary containers simply to imitate a native structure you could express directly.
- Retain native list elements for genuine groups of items.
- Test markerless styling with the intended Safari and assistive-technology combination.
- Confirm that list identity, item count, and order remain understandable.
<ul role="list" class="cards"><li>Summary</li><li>Findings</li></ul>
<style>.cards { list-style: none; }</style>Check the actual reading experience
Check both the list announcement and individual item order. A restored role cannot fix content that has been visually reordered away from its source order.
Test a markerless card collection as a list
Suppose an executive summary contains four linked cards representing the report’s sections. Visually they look like tiles, but their shared purpose makes a list useful: a reader can understand that there are four related choices. Retaining ul and li provides the native structure, while markerless styling changes appearance. The browser’s accessibility representation must still be checked because visual cards alone do not communicate the grouping nonvisually.
MDN documents Safari’s handling of list-style:none, including an exception for lists inside navigation elements. An explicit role=list on a genuine list can restore the intended list semantics where the styling would otherwise suppress them. Do not move an unrelated list into nav merely to obtain that exception; navigation landmarks should describe actual navigation. Likewise, adding list roles to a collection of generic div elements creates unnecessary maintenance when native list markup is available.
For ordered procedures, ask whether removing numbers also removes useful meaning for sighted readers. A spoken list count does not replace visible step numbers when instructions refer to step three. Keep ordering cues that the task depends on, and verify that CSS grid placement or flex ordering has not made the visual sequence disagree with source order. Test nested lists separately so a group of substeps remains distinguishable from its parent list. Finally, compare announcements before and after the styling change on the target Safari and VoiceOver setup; a role that restores grouping should not introduce duplicate labels or obscure the names of links inside each item.
Sources and further reading
AI-assisted writing with source-linked guidance and illustrative examples. Read our editorial approach or report a correction.