diff options
author | Holden Foreman <38192823+hs4man21@users.noreply.github.com> | 2023-01-05 07:39:58 -0500 |
---|---|---|
committer | Claire <claire.github-309c@sitedethib.com> | 2023-01-05 15:14:04 +0100 |
commit | 4404a7f0650b075bddf12772ad85c1bb1542c016 (patch) | |
tree | 9c09162b6037c2391a8633f8e2d458341f9a0587 /app/javascript/flavours/glitch | |
parent | 4f335da8f88fccf4285023208664bd8594a1deb9 (diff) |
[Glitch] Add aria-hidden to content warning field when dimmed so that it is not confusing to screen reader users
Port 83888739fdc4de7f6a6d6d3e3bd53473acca4569 to glitch-soc Signed-off-by: Claire <claire.github-309c@sitedethib.com>
Diffstat (limited to 'app/javascript/flavours/glitch')
-rw-r--r-- | app/javascript/flavours/glitch/features/compose/components/compose_form.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/flavours/glitch/features/compose/components/compose_form.js b/app/javascript/flavours/glitch/features/compose/components/compose_form.js index abdd247a0..0462c7c4b 100644 --- a/app/javascript/flavours/glitch/features/compose/components/compose_form.js +++ b/app/javascript/flavours/glitch/features/compose/components/compose_form.js @@ -310,7 +310,7 @@ class ComposeForm extends ImmutablePureComponent { <ReplyIndicatorContainer /> - <div className={`spoiler-input ${spoiler ? 'spoiler-input--visible' : ''}`} ref={this.setRef}> + <div className={`spoiler-input ${spoiler ? 'spoiler-input--visible' : ''}`} ref={this.setRef} aria-hidden={!this.props.spoiler}> <AutosuggestInput placeholder={intl.formatMessage(messages.spoiler_placeholder)} value={spoilerText} |