When citing a quotation using the cite attribute in blockquote, how can it be made accessible to screen readers?
- By enclosing it within an tag.
- By using the alt attribute.
- By using the aria-describedby attribute.
- By utilizing JavaScript to announce content.
The aria-describedby attribute is used to indicate elements that describe the main element, making the content more accessible. When you cite a quotation using the cite attribute in a
, the URL isn't typically rendered. Using aria-describedby can help to associate this URL with the blockquote, making the source accessible to screen readers.
Loading...
Related Quiz
- The ______ attribute is used to define a unique identifier for an element.
- How does the browser interpret an HTML document that contains multiple tags?
- How can you ensure that the page doesn’t scroll when an internal link is clicked?
- The _____ and _____ tags are used to semantically differentiate importance and stylistic offset, respectively.
- How is a hyperlink inserted within the body section of an HTML document?