This commit is contained in:
igoradamenko
2018-05-13 23:23:59 +03:00
parent b7fa09e1ae
commit 7742ce5a38
2 changed files with 5 additions and 4 deletions
+1 -1
View File
@@ -108,7 +108,7 @@ export default class Input extends Component {
const charactersLeft = maxLength - commentLength;
return (
<form className={b('input', props)} onSubmit={this.send} role="form" aria-label="New Comment">
<form className={b('input', props)} onSubmit={this.send} role="form" aria-label="New comment">
<div className="input__field-wrapper">
<textarea
className="input__field"
+4 -3
View File
@@ -23,9 +23,10 @@ export default class Thread extends Component {
return (
<div
className={b('thread', props)}
role={['listitem'].concat(!collapsed && replies.length ? 'list' : [])}
aria-expanded={!collapsed}>
className={b('thread', props)}
role={['listitem'].concat(!collapsed && replies.length ? 'list' : [])}
aria-expanded={!collapsed}
>
<Comment
data={comment}
mods={{ level: mods.level, collapsed, collapsible: !!replies.length }}