mirror of
https://github.com/vector-im/element-web.git
synced 2025-10-17 10:21:44 +02:00
Fix share message context menu option keyboard a11y
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
786d853f4c
commit
42b63fbc81
@ -414,7 +414,7 @@ export default createReactClass({
|
||||
}
|
||||
// XXX: if we use room ID, we should also include a server where the event can be found (other than in the domain of the event ID)
|
||||
const permalinkButton = (
|
||||
<MenuItem className="mx_MessageContextMenu_field">
|
||||
<MenuItem className="mx_MessageContextMenu_field" onClick={this.onPermalinkClick}>
|
||||
<a href={permalink} target="_blank" rel="noopener" onClick={this.onPermalinkClick} tabIndex={-1}>
|
||||
{ mxEvent.isRedacted() || mxEvent.getType() !== 'm.room.message'
|
||||
? _t('Share Permalink') : _t('Share Message') }
|
||||
|
Loading…
x
Reference in New Issue
Block a user