# Avoid Using Deprecated ARIA Roles

Replace deprecated ARIA roles like 'directory' with modern equivalents to ensure compatibility with assistive technologies and future browser standards. This includes reviewing HTML markup and interactive components for outdated roles.

**Canonical URL:** https://skillshunter.net/skills/github-thedaviddias-front-end-checklist-skills-aria-deprecated-role-1bae7ba58195

**JSON URL:** https://skillshunter.net/api/public/v1/skills/github-thedaviddias-front-end-checklist-skills-aria-deprecated-role-1bae7ba58195

**Markdown URL:** https://skillshunter.net/skills/github-thedaviddias-front-end-checklist-skills-aria-deprecated-role-1bae7ba58195.md

**Instructions download URL:** https://skillshunter.net/skills/github-thedaviddias-front-end-checklist-skills-aria-deprecated-role-1bae7ba58195/download

**Category:** Software & Development

**Source URL:** https://github.com/thedaviddias/Front-End-Checklist/blob/e8d14d049010e2ce25afcd5e8609dfcbbe63e47e/skills/aria-deprecated-role/SKILL.md

**Source commit:** e8d14d049010e2ce25afcd5e8609dfcbbe63e47e

**Listing approved at:** 2026-11-23

**Created at:** 2026-11-22T15:07:37.000000Z

**Updated at:** 2026-11-23T04:54:44.000000Z

## Catalog information

The following descriptions are catalog information. Listing approval does not mean the skill has been tested or is safe for every environment.

### Editor's note

Before making changes, validate the current ARIA roles using browser accessibility tools or assistive technologies to confirm their impact. Ensure that native HTML elements are used where possible, and document the replacement of deprecated roles with their modern equivalents.

### When to use it

- Reviewing HTML markup for deprecated ARIA roles like 'directory' or abstract roles.
- Ensuring long-term compatibility with screen readers and assistive technologies.
- Updating interactive components to use modern ARIA standards.

## Skill instructions

---
name: aria-deprecated-role
description: "Use when reviewing rendered HTML, interactive components, or design-system patterns related to Avoid using deprecated ARIA roles. Check native semantics first, then inspect keyboard behavior, focus flow, accessible names, and screen-reader output where relevant."
metadata:
  category: accessibility
  priority: medium
  difficulty: intermediate
  estimatedTime: "10"
  source: frontendchecklist.io
  url: https://frontendchecklist.io/rules/accessibility/aria-deprecated-role
---

# Avoid using deprecated ARIA roles

Using deprecated roles can lead to inconsistent behavior across different browsers and screen readers as they transition to newer standards.

## Quick Reference

- Deprecated ARIA roles should be replaced with modern equivalents
- Browsers may drop support for deprecated roles in future versions
- Ensures long-term compatibility with assistive technologies

## Check

Search the codebase for deprecated ARIA roles like `directory` or abstract roles that shouldn't be used in HTML.

## Fix

Update deprecated ARIA roles to their modern recommended equivalents or use native HTML elements.

## Explain

Explain the risks of using deprecated ARIA roles and the benefits of moving to modern ARIA standards.

## Code Review

Review the rendered markup and interactive states that affect Avoid using deprecated ARIA roles. Flag exact elements, roles, labels, focus behavior, or keyboard interactions that violate the rule, and note how to verify the fix with browser accessibility tooling or assistive tech.

---

For full implementation details, code examples, and framework-specific guidance,
see `references/rule.md`.

Rule page: https://frontendchecklist.io/rules/accessibility/aria-deprecated-role

