Lupa Sandi?

Percobaan Artikel oleh Komunitas

B3IBS
B3IBS
0 Komentar
Percobaan Artikel oleh Komunitas

Modern versions of assistive technologies will announce CSS generated content, as well as specific Unicode characters. To avoid unintended and confusing output in screen readers (particularly when icons are used purely for decoration), we hide them with the aria-hidden="true" attribute.

If you're using an icon to convey meaning (rather than only as a decorative element), ensure that this meaning is also conveyed to assistive technologies – for instance, include additional content, visually hidden with the .sr-only class.

If you're creating controls with no other text (such as a <button> that only contains an icon), you should always provide alternative content to identify the purpose of the control, so that it will make sense to users of assistive technologies. In this case, you could add an aria-label attribute on the control itself.

Baca Juga
Pilih BanggaBangga0%
Pilih SedihSedih0%
Pilih SenangSenang0%
Pilih Tak PeduliTak Peduli0%
Pilih TerinspirasiTerinspirasi0%
Pilih TerpukauTerpukau0%
Laporkan Artikel

Mengapa Ingin Melaporkan Artikel Ini?

TENTANG B3IBS

Bionya B3IBS ... Lihat Profil Lengkap

Ikuti
Next
BJ. Habibie

Tanpa cinta, kecerdasan itu berbahaya. Dan tanpa kecerdasan, cinta itu tidak cukup.

— BJ. Habibie