# Dapat may alternatibong text ang mga <svg> element na may img o image role

<https://www.fixreports.com/fil/issues/svg-img-alt>

WCAG 1.1.1 Non-text Content · Level A

Walang text alternative ang isang SVG image na nagbibigay ng impormasyon.

## Ano ang sinusuri ng patakarang ito
Tiyaking may accessible na text ang mga <svg> element na may img, image, graphics-document o graphics-symbol role.

## Bakit ito mahalaga
Hinihingi ng WCAG 1.1.1 ang text alternative para sa mga makabuluhang larawan.

## Paano ito ayusin
### Sa anumang website
1. Magdagdag ng aria-label o <title> element sa mga makabuluhang SVG, o aria-hidden="true" sa mga purong dekoratibo.

### Sa Shopify
1. Magdagdag ng aria-label o <title> element sa mga makabuluhang SVG, o aria-hidden="true" sa mga purong dekoratibo.

### Sa WooCommerce at WordPress
1. Magdagdag ng aria-label o <title> element sa mga makabuluhang SVG, o aria-hidden="true" sa mga purong dekoratibo.

## Paano susuriin ang ayos
- I-scan ulit ang mga apektadong page.

## Mga sanggunian
- Dokumentasyon ng axe-core rule (Deque): https://dequeuniversity.com/rules/axe/4.13/svg-img-alt
- Understanding WCAG 1.1.1 (W3C): https://www.w3.org/WAI/WCAG22/Understanding/non-text-content
