Click or drag to resize

AccessibilityAltTextImg Method

Generates an invisible (1x1 transparent pixel) HTML IMG tag whose sole purpose is to include ALT text for screen readers. Returns an empty string if provided text is null/empty.

Namespace:  NetQuarry
Assembly:  EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
public static string AltTextImg(
	string text
)

Parameters

text
Type: SystemString
The text to use for the ALT attribute.

Return Value

Type: String
The IMG tag if text is provided, else an empty string.
See Also