Tests the #comp_name_from_content portions of the AccName Name Computation algorithm.

This series of tests exercises the button, heading, and link elements, because each have different characteristics worthy of testing in each of the name computation algorithm scenarios:

ARIA roles, inline

label
label
label

ARIA roles, block

label
label
label

simple


label

label

simple with ::before


label

label

simple with ::after


label

label

simple with ::before and ::after


label

label

no space joiners ::before and ::after


label

label

Arabic right-to-left (RTL) with ::before and ::after


اسم

اسم

Alternative Text for CSS content (previously `alt:`) in pseudo-elements

rendered text should be "before label after"

accessibility label should be "alt-before label alt-after"


label

label

Mixed Alternative Text (attr() and strings) for CSS content (previously `alt:`) in pseudo-elements

rendered text should be "before label after"

accessibility label should be "start alt-before end label start alt-after end"


label

label

Empty alternative text for CSS content in pseudo-elements when applied to primitive appearance form controls

simple w/ for each child


one two three

one two three

simple for each child with image


one two three

one two three

simple for each child with extra nesting containing image


one two three four

one two three four

heading with nested button with nested image

heading heading

heading with nested link with nested image

heading link image link heading

heading with nested link with nested image using aria-label

heading ignored link text ignored image alt ignored link text heading

heading with nested link with nested image using aria-labelledby

heading ignored link text image ignored link text heading

heading with two nested links referencing image using aria-labelledby

link1 link2 image link3

simple w/ for each child (w/o spaces and display:inline)


onetwothree

onetwothree

simple w/ for each child (w/o spaces and display:block)


onetwothree

onetwothree

simple w/ for each child (w/o spaces and display:inline block)


onetwothree

onetwothree

Call us

Call us

Call us

Call us