mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-04 00:20:07 +00:00
[file view] added 'aria-label' to the operation buttons
This commit is contained in:
@@ -47,6 +47,7 @@ class IconButton extends React.Component {
|
||||
className={className}
|
||||
tag="a"
|
||||
href={this.props.href}
|
||||
aria-label={this.props.text}
|
||||
>
|
||||
{btnContent}
|
||||
</Button>
|
||||
@@ -57,6 +58,7 @@ class IconButton extends React.Component {
|
||||
id={this.props.id}
|
||||
className={className}
|
||||
onClick={this.props.onClick}
|
||||
aria-label={this.props.text}
|
||||
>
|
||||
{btnContent}
|
||||
</Button>
|
||||
|
Reference in New Issue
Block a user