Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
mohamedkhallouq
GitHub Repository: mohamedkhallouq/content
Path: blob/main/files/en-us/web/accessibility/aria/roles/command_role/index.md
6552 views
---
title: "ARIA: command role" slug: Web/Accessibility/ARIA/Roles/command_role spec-urls: https://w3c.github.io/aria/#command
---

The command role defines a widget that performs an action but does not receive input data.

Note: The command role is an abstract role. It is included here for completeness of documentation. It should not be used by web authors.

Description

A command is form of widget that performs an action but does not receive input data. It is a superclass for the widget roles button, link, and menuitem

Best Practices

Do not use.

Specifications

{{Specifications}}

See Also

  1. WAI-ARIA roles

    {{ListSubpagesForSidebar("/en-US/docs/Web/Accessibility/ARIA/Roles")}}