{/* Copyright 2020 Adobe. All rights reserved. This file is licensed to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */} # ButtonGroup Accessibility Specification ## Overview A [`ButtonGroup`](https://react-spectrum.corp.adobe.com/components/ButtonGroup) represents list of action buttons a user can take. Buttons inside the group can be clicked or tapped to perform an action. ButtonGroup in Spectrum have several props for different uses and multiple levels of loudness for various attention-getting needs. ButtonGroup allows two kinds of Button variants, tool and action. If a button is not one of these, its variant will be overridden to be action. ## WAI-ARIA Design Patterns The ButtonGroup accessibility implementation depends on the selection mode. ### selectionMode: "single" When Button selection is mutually exclusive, and ButtonGroup implements the [RadioGroup design pattern per WAI-ARIA 1.1](https://www.w3.org/TR/wai-aria-practices/#radiobutton). Note that in v2, this is the default behavior. ```jsx