Skip to content

Take control over your live stream video by running it yourself. Streaming + chat out of the box.

fix: a11y button lables. Closes #3418

Gabe Kangasbc8cfb23de2a
diff --git a/web/components/chat/ChatModerationActionMenu/ChatModerationActionMenu.tsx b/web/components/chat/ChatModerationActionMenu/ChatModerationActionMenu.tsx
index b519a392de..73dc1be0b0 100644
--- a/web/components/chat/ChatModerationActionMenu/ChatModerationActionMenu.tsx
+++ b/web/components/chat/ChatModerationActionMenu/ChatModerationActionMenu.tsx
@@ -104,7 +104,11 @@ export const ChatModerationActionMenu: FC<ChatModerationActionMenuProps> = ({
return (
<>
<Dropdown menu={{ items }} trigger={['click']}>
- <button type="button" onClick={e => e.preventDefault()}>
+ <button
+ type="button"
+ aria-label="Chat moderation options"
+ onClick={e => e.preventDefault()}
+ >
<Space>
<SmallDashOutlined />
</Space>
diff --git a/web/components/chat/ChatTextField/ChatTextField.tsx b/web/components/chat/ChatTextField/ChatTextField.tsx
index cd282cf2e8..656c864ba1 100644
--- a/web/components/chat/ChatTextField/ChatTextField.tsx
+++ b/web/components/chat/ChatTextField/ChatTextField.tsx
@@ -287,12 +287,18 @@ export const ChatTextField: FC<ChatTextFieldProps> = ({ defaultText, enabled, fo
trigger="click"
placement="topRight"
>
- <button type="button" className={styles.emojiButton} title="Emoji picker button">
+ <button
+ type="button"
+ aria-label="Emoji picker"
+ className={styles.emojiButton}
+ title="Emoji picker button"
+ >
<SmileOutlined />
</button>
</Popover>
<button
type="button"
+ aria-label="Send message"
className={styles.sendButton}
title="Send message Button"
onClick={sendMessage}
diff --git a/web/components/ui/NotifyReminderPopup/NotifyReminderPopup.tsx b/web/components/ui/NotifyReminderPopup/NotifyReminderPopup.tsx
index 9b3c79142c..f6fc98ee5e 100644
--- a/web/components/ui/NotifyReminderPopup/NotifyReminderPopup.tsx
+++ b/web/components/ui/NotifyReminderPopup/NotifyReminderPopup.tsx
@@ -48,7 +48,12 @@ export const NotifyReminderPopup: FC<NotifyReminderPopupProps> = ({
const content = (
<div onClick={popupClicked} onKeyDown={popupClicked} role="menuitem" tabIndex={0}>
- <button type="button" className={styles.closebutton} onClick={popupClosed}>
+ <button
+ type="button"
+ aria-label="Follow"
+ className={styles.closebutton}
+ onClick={popupClosed}
+ >
<CloseOutlined />
</button>
<div className={styles.contentbutton}>Click and never miss future streams!</div>