output elements with accessible names.
Published:
Note: review additional tests for more detailed announcements. These tests are solely looking to determine if the visible text and accessible names are accessible.
Important note concerning TalkBack:
If output elements are given an accessible name, or contain content by default, TalkBack paired with Chrome will auto-announce the accessible name, any default content, and role (status) of at least one, if not all, instances of outputs on initial document load or refresh.
output with aria-labelExpectation: should announce flattened text string and accessible name. Visible text should be accessible. Role should be announced either in live announcement, or when navigated to.
output and its accessible name and role will announce, without injected content.output and its accessible name and role will announce, without injected content.output.output.output will announce intended accessible name. After injecting content, intended accessible name is not announced, only the injected content.output will announce intended accessible name. After injecting content, intended accessible name is not announced, only the injected content.output is not accessible without injected content.aria-label and status role.output is not accessible without injected content.label associationExpectation: should announce flattened text string and accessible name. Visible text should be accessible. Role should be announced either in live announcement, or when navigated to.
label with an output even though its an element that can be labelled.label with an output even though its an element that can be labelled.output.output.output will announce intended accessible name. After injecting content, intended accessible name is not announced, only the injected content.output will announce intended accessible name. After injecting content, intended accessible name is not announced, only the injected content.output is not accessible without injected content.label element and status role.output is not accessible without injected content.title attributeExpectation: should announce flattened text string and accessible name. Visible text should be accessible. Role should be announced either in live announcement, or when navigated to.
output and its accessible name and output role will announce if there is no subtree content. The title is not treated as an accessible description when subtree content exists.output and its accessible name and role will announce, without injected content. The title is not treated as an accessible description when subtree content exists.output. title doesn't announce as accessible description when subtree content is injected into it. output is not accessible without injected content.output. title doesn't announce as accessible description when subtree content is injected into it. output is not accessible without injected content.title provides no announced accessible description.output will announce intended accessible name. After injecting content, intended accessible name is not announced, only the injected content. title is not announced as accessible description when content is injected.output will announce intended accessible name. After injecting content, intended accessible name is not announced, only the injected content. title is not announced as accessible description when content is injected.title is not announced as accessible description when content is injected.output is not accessible without injected content.title attribute and status role. title not used as accessible description, even though output has subtree content.output is not accessible without injected content.aria-labelExpectation: should announce flattened text string.
output.output.output will announce visible content, but not the intended accessible name.output will announce visible content, but not the intended accessible name.aria-label and status role.