mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-24 19:19:57 +08:00
site: add alt to images
This commit is contained in:
parent
6458280cb3
commit
0fc5a0ece5
@ -73,7 +73,7 @@ class Avatar extends React.Component {
|
||||
beforeUpload={beforeUpload}
|
||||
onChange={this.handleChange}
|
||||
>
|
||||
{imageUrl ? <img src={imageUrl} alt="" /> : uploadButton}
|
||||
{imageUrl ? <img src={imageUrl} alt="avatar" /> : uploadButton}
|
||||
</Upload>
|
||||
);
|
||||
}
|
||||
|
@ -226,7 +226,7 @@ class Footer extends React.Component {
|
||||
<Col md={6} sm={24} xs={24}>
|
||||
<div className="footer-center">
|
||||
<h2>
|
||||
<img className="title-icon" src="https://gw.alipayobjects.com/zos/rmsportal/nBVXkrFdWHxbZlmMbsaH.svg" alt="" />
|
||||
<img className="title-icon" src="https://gw.alipayobjects.com/zos/rmsportal/nBVXkrFdWHxbZlmMbsaH.svg" alt="AFX Cloud" />
|
||||
<FormattedMessage id="app.footer.more-product" />
|
||||
</h2>
|
||||
<div>
|
||||
|
Loading…
Reference in New Issue
Block a user