add accessibility text for SEO and screen readers in new UI components

This commit is contained in:
2026-05-01 16:48:38 +08:00
parent cab45fef93
commit c13cc437ae
6 changed files with 18 additions and 0 deletions

View File

@@ -125,6 +125,9 @@ function Truth() {
animate={isMainInView ? { opacity: 1 } : { opacity: 0 }}
transition={{ duration: 0.5, ease: "easeOut" }}
>
<h2 style={{ position: 'absolute', width: '1px', height: '1px', padding: 0, margin: '-1px', overflow: 'hidden', clip: 'rect(0,0,0,0)', whiteSpace: 'nowrap', border: 0 }}>
HKTVmall有售
</h2>
<MotionText
className='font-melle font-xbold'