Skip to content

Question: role presentation on non-semantic elements - why? #1647

@LaurenceRLewis

Description

@LaurenceRLewis

In the ARIA 1.2 Spec for Role Presentation Example 9 has the following example:
<!-- 3. Depending on styling and other factors, this role declaration is redundant in some implementations. --> <span role="presentation"> Sample Content </span>

I am finding a lot of seemingly unnecessary uses of role presentation/none on non-semantic elements in the wild and when accessibility testing. The 'Depending on styling and other factors' has no further explanation as to why styling or factors would require this role.

I have read that the Role Presentation/None can be used as a bug fix, but can't remember what it fixes.

I'd appreciate your opinion on this.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions