aria-label contained body of status with content warning, which should be
hidden by default. Remove the label for the case and other cases due to
consistency.
}
return (
- <div className={classNames} ref={this.setRef} tabIndex='0' aria-label={status.get('search_index')} onMouseDown={this.handleMouseDown} onMouseUp={this.handleMouseUp}>
+ <div className={classNames} ref={this.setRef} tabIndex='0' onMouseDown={this.handleMouseDown} onMouseUp={this.handleMouseUp}>
<p style={{ marginBottom: hidden && status.get('mentions').isEmpty() ? '0px' : null }}>
<span dangerouslySetInnerHTML={spoilerContent} />
{' '}
<div
ref={this.setRef}
tabIndex='0'
- aria-label={status.get('search_index')}
className={classNames}
style={directionStyle}
onMouseDown={this.handleMouseDown}
return (
<div
tabIndex='0'
- aria-label={status.get('search_index')}
ref={this.setRef}
className='status__content'
style={directionStyle}