projects
/
lemmy-ui.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fc1c4f3
)
fix(a11y): Add aria-controls for advanced button dropdown
author
Jay Sitter
<jay@jaysitter.com>
Sat, 17 Jun 2023 23:10:53 +0000
(19:10 -0400)
committer
Jay Sitter
<jay@jaysitter.com>
Sun, 18 Jun 2023 14:18:17 +0000
(10:18 -0400)
src/shared/components/post/post-listing.tsx
patch
|
blob
|
history
diff --git
a/src/shared/components/post/post-listing.tsx
b/src/shared/components/post/post-listing.tsx
index 1ba9bb1c1897e2a2cc963372801d04468e9f3aeb..afe7f89bff8099224ca6c4fbc2e9d48cd1c5f80f 100644
(file)
--- a/
src/shared/components/post/post-listing.tsx
+++ b/
src/shared/components/post/post-listing.tsx
@@
-691,12
+691,13
@@
export class PostListing extends Component<PostListingProps, PostListingState> {
data-tippy-content={i18n.t("more")}
data-bs-toggle="dropdown"
aria-expanded="false"
+ aria-controls="advancedButtonsDropdown"
aria-label={i18n.t("more")}
>
<Icon icon="more-vertical" inline />
</button>
- <ul className="dropdown-menu">
+ <ul className="dropdown-menu"
id="advancedButtonsDropdown"
>
{!this.myPost ? (
<>
<li>{this.reportButton}</li>