1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-24 12:58:34 +00:00

[A11y] improvements for pages (#6030)

* [A11y] improvements for pages

* [A11y] added 'user-scalable=no' back
This commit is contained in:
llj
2024-04-22 10:36:42 +08:00
committed by GitHub
parent 047f03c722
commit 1b881ca914
10 changed files with 13 additions and 31 deletions

View File

@@ -622,7 +622,7 @@ class FileUploader extends React.Component {
<Fragment>
<div className="file-uploader-container">
<div className="file-uploader">
<input className="upload-input" type="file" ref={this.uploadInput} onClick={this.onClick} />
<input className="upload-input" type="file" ref={this.uploadInput} onClick={this.onClick} aria-label={gettext('Upload')} />
</div>
</div>
<UploadProgressDialog

View File

@@ -104,10 +104,10 @@ class UploadProgressDialog extends React.Component {
<table className="table-thead-hidden">
<thead>
<tr>
<th width="40%">{gettext('name')}</th>
<th width="15%">{gettext('size')}</th>
<th width="30%">{gettext('progress')}</th>
<th width="15%">{gettext('state')}</th>
<th width="40%" scope="col">{gettext('name')}</th>
<th width="15%" scope="col">{gettext('size')}</th>
<th width="30%" scope="col">{gettext('progress')}</th>
<th width="15%" scope="col">{gettext('state')}</th>
</tr>
</thead>
<tbody>