Skip to content

Commit

Permalink
Remove unnecessary aria-pressed attributes from Toolbar buttons
Browse files Browse the repository at this point in the history
- this will be part of another pull request with aria-pressed
  • Loading branch information
ichim-david committed Feb 24, 2024
1 parent 717f13e commit fee3381
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions packages/volto/src/components/manage/Toolbar/Toolbar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -549,7 +549,6 @@ class Toolbar extends Component {
aria-label={this.props.intl.formatMessage(
messages.add,
)}
aria-pressed={false}
onClick={(e) => this.toggleMenu(e, 'types')}
tabIndex={0}
id="toolbar-add"
Expand All @@ -565,7 +564,6 @@ class Toolbar extends Component {
<button
className="more"
aria-label={this.props.intl.formatMessage(messages.more)}
aria-pressed={false}
onClick={(e) => this.toggleMenu(e, 'more')}
tabIndex={0}
id="toolbar-more"
Expand Down Expand Up @@ -605,7 +603,6 @@ class Toolbar extends Component {
aria-label={this.props.intl.formatMessage(
messages.personalTools,
)}
aria-pressed={false}
onClick={(e) => this.toggleMenu(e, 'personalTools')}
tabIndex={0}
id="toolbar-personal"
Expand Down

0 comments on commit fee3381

Please sign in to comment.