mirror of
https://github.com/flarum/core.git
synced 2025-08-11 19:04:29 +02:00
[A11Y] Improve accessibility for discussion reply count on post stream (#3090)
* Add class to remove all UA styles from a button * Improve classList utilisation * Simplify JSX * Use classlist instead of concatenation * Fix reply count focusable when not acting as a button * Add SR only class * Add new reply count translations * Use cleaner translations * Remove unused import * Add missing new line * Delete Accessibility.less * Use existing `.visually-hidden` class * Format * Fix locale formatting
This commit is contained in:
@@ -326,9 +326,10 @@ core:
|
||||
discussion_list:
|
||||
empty_text: It looks as though there are no discussions here.
|
||||
load_more_button: => core.ref.load_more
|
||||
mark_as_read_tooltip: Mark as Read
|
||||
replied_text: "{username} replied {ago}"
|
||||
started_text: "{username} started {ago}"
|
||||
total_replies_a11y_label: "{count, plural, one {# reply} other {# replies}}"
|
||||
unread_replies_a11y_label: "{count, plural, one {# unread reply} other {# unread replies}}. Mark unread {count, plural, one {reply} other {replies}} as read."
|
||||
|
||||
# These translations are used in the Forgot Password modal dialog.
|
||||
forgot_password:
|
||||
|
Reference in New Issue
Block a user