Remove aria-pressed where it's redundant (#19912)
This commit removes aria-pressed attribute from all elements which contents or other descriptive attributes change in active state, effectively replacing the meaning of the button, in which case aria-pressed, an attribute specified whether the button is currently pressed, would create a confusion. (Spoiler: it's everywhere). See https://github.com/mastodon/mastodon/issues/13545#issuecomment-1304886969
Showing
- app/javascript/mastodon/components/column_header.js 0 additions, 1 deletionapp/javascript/mastodon/components/column_header.js
- app/javascript/mastodon/components/icon_button.js 0 additions, 3 deletionsapp/javascript/mastodon/components/icon_button.js
- app/javascript/mastodon/components/status_action_bar.js 2 additions, 2 deletionsapp/javascript/mastodon/components/status_action_bar.js
- app/javascript/mastodon/features/hashtag_timeline/index.js 1 addition, 1 deletionapp/javascript/mastodon/features/hashtag_timeline/index.js
- app/javascript/mastodon/features/home_timeline/index.js 0 additions, 1 deletionapp/javascript/mastodon/features/home_timeline/index.js
- app/javascript/mastodon/features/picture_in_picture/components/footer.js 2 additions, 2 deletions...mastodon/features/picture_in_picture/components/footer.js
- app/javascript/mastodon/features/status/index.js 1 addition, 1 deletionapp/javascript/mastodon/features/status/index.js
Loading
Please register or sign in to comment