Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[READY FOR REVIEW] An alt Decision Tree #982

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

JinMokai
Copy link
Contributor

@JinMokai JinMokai commented Nov 23, 2024

Copy link

netlify bot commented Nov 23, 2024

Deploy Preview for wai-website ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit 82ed86a
🔍 Latest deploy log https://app.netlify.com/sites/wai-website/deploys/674a8179ae812f0008131cf0
😎 Deploy Preview https://deploy-preview-982--wai-website.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 92 (🔴 down 4 from production)
Accessibility: 100 (no change from production)
Best Practices: 92 (no change from production)
SEO: 100 (no change from production)
PWA: -
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify site configuration.

@heybran
Copy link
Contributor

heybran commented Nov 29, 2024

@JinMokai I've checked the translated content side by side with the original content and have provided two suggestions. One of them needs confirmation from Remi as I'm not 100% sure yet.

_使用空的`alt`属性。参阅 [装饰图像](/tutorials/images/decorative/)。_
- **…并且文字还有一个特殊功能,例如是一个图标**
_并且使用`alt`属性能传达图像的功能。参阅 [功能性图片](/tutorials/images/functional/)。_
- **…否则图像中的文字将不存在。** _使用`alt`属性包含图片文本。参阅 [文本图像](/tutorials/images/textual/#styled-text-decorative-effect)。_
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- **…否则图像中的文字将不存在。** _使用`alt`属性包含图片文本。参阅 [文本图像](/tutorials/images/textual/#styled-text-decorative-effect)。_
- **…并且文本并没有在其他地方有所呈现。** _使用`alt`属性包含图片文本。参阅 [文本图像](/tutorials/images/textual/#styled-text-decorative-effect)。_

and the text in the image is not present otherwise. this can be a bit confusing to translators, I think it means if the image text is not present in other places in the document, an alt attribute is needed in this context. Could you please confirm this? @remibetin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Review
Development

Successfully merging this pull request may close these issues.

[Simplified Chinese] An alt Decision Tree
4 participants