role=presentation vs none Equivalence

Resolves equivalent presentation/none roles on an element, including focusable or otherwise interactive elements and global ARIA conflict resolution. Reports removal of this element's own implicit semantics; required owned descendants need separate checks.

Description

The ARIA roles none and presentation remove an element’s own implicit semantics when no conflicting condition applies.

The ARIA roles none and presentation remove an element’s own implicit semantics when no conflicting condition applies. Interaction and global ARIA attributes can override that request.1

Resolves equivalent presentation/none roles on an element, including focusable or otherwise interactive elements and global ARIA conflict resolution. Reports removal of this element's own implicit semantics; required owned descendants need separate checks.

When to use role=presentation vs none Equivalence

Use this for the following task: Resolves equivalent presentation/none roles on an element, including focusable or otherwise interactive elements and global ARIA conflict resolution. Reports removal of this element's own implicit semantics; required owned descendants need separate checks.

Prepare the parsed attribute values, element states or ordered local lists requested below. Keep attribute presence separate from value.

How to use role=presentation vs none Equivalence and understand its results

  1. Prepare the parsed attribute values, element states or ordered local lists requested below. Keep attribute presence separate from value.
  2. Enter role, focusableOrInteractive, hasGlobalAria using the field table, then run the tool.
  3. Read removesOwnImplicitSemantics, ignoredByConflict. Interpret flags, units, ordering and placeholder values using the rules below.
  4. Review any reported issue or failed check, correct the supplied values when appropriate, and verify the result in its intended context.
Input fieldMeaningValue type and boundsRequirement
roleRolestring; choose "presentation", "none"Required
focusableOrInteractiveFocusable Or InteractivebooleanRequired
hasGlobalAriaHas Global AriabooleanRequired

Select either equivalent role, supply focusability/interaction and global-ARIA flags, then invert ignoredByConflict to obtain removesOwnImplicitSemantics.2

ignoredByConflict = focusableOrInteractive OR hasGlobalAria

This summarizes the declared operation. Units, indexing, inclusivity and exceptional cases are explained in the surrounding text.

Output fieldMeaningValue type
removesOwnImplicitSemanticsRemoves Own Implicit Semanticsboolean
ignoredByConflictIgnored By Conflictboolean
json
{
  "input": {
    "role": "none",
    "focusableOrInteractive": false,
    "hasGlobalAria": false
  },
  "output": {
    "removesOwnImplicitSemantics": true,
    "ignoredByConflict": false
  }
}

Limitations and assumptions

Required owned descendants require separate analysis. This does not inspect an accessibility tree or guarantee assistive-technology behavior.

This evaluates supplied local information; it does not fetch a page or run a browser. Malformed requests produce input errors. A successfully evaluated request can still contain false flags, empty result lists or a result outside the supplied threshold; those outcomes have the meanings stated above.

Alternative or Complementary methods

Choose Valid ARIA Role Names Lookup for this operation: Classifies individual WAI-ARIA 1.2 role names in their recommended lowercase author spelling as concrete, abstract or unknown. This exact-spelling vocabulary lookup excludes extensions and browser case-insensitive processing. For a complementary task, use ARIA State Attribute Pair Check for this operation: Checks a WAI-ARIA 1.2 state attribute name and a defined value token in recommended lowercase author spelling. This exact-spelling lexical pair check does not evaluate browser error recovery, role applicability or accessibility.

Further background: HTML / accessibility reference: role=presentation vs none Equivalence.

References

  1. HTML / accessibility reference: role=presentation vs none Equivalence — W3C

  2. role=presentation vs none Equivalence — tool.io

Similar or alternative tools

  • Valid ARIA Role Names Lookup

    Classifies individual WAI-ARIA 1.2 role names in their recommended lowercase author spelling as concrete, abstract or unknown. This exact-spelling vocabulary lookup excludes extensions and browser case-insensitive processing.

  • ARIA State Attribute Pair Check

    Checks a WAI-ARIA 1.2 state attribute name and a defined value token in recommended lowercase author spelling. This exact-spelling lexical pair check does not evaluate browser error recovery, role applicability or accessibility.

Don't forget to set a bookmark for tool.io!
Privacy | Imprint | Cookies