FIND YOUR NEXT FEW LINES
Results for “alt”
Small, practical examples. Search by task or narrow things down below.
17 snippets foundClear filters
Exclude a purely decorative image from accessible content
HTML: An empty alt indicates that this image adds no information beyond nearby content.
HTML✓ Tested
Read a variant only when it holds the expected type
C++: get_if returns a null pointer rather than throwing for another active alternative.
C++✓ Tested
Split text on several separator characters
JavaScript: A regex character class can recognize alternative simple delimiters.
JavaScript✓ Tested
Split text on several separator characters
TypeScript: A regex character class can recognize alternative simple delimiters.
TypeScript✓ Tested
Wait for an initialization job
Start a service only after its dependency completes successfully.
Compose✓ Tested