cite/q/blockquote Inline-Block Classify
Classifies cite, q and blockquote by standard content category and meaning. Phrasing content is reported rather than a CSS display guarantee.
Description
Cite identifies a work’s title, while q and blockquote identify quotations.
Cite identifies a work’s title, while q and blockquote identify quotations. HTML content categories and CSS display are separate concepts.1
Classifies cite, q and blockquote by standard content category and meaning. Phrasing content is reported rather than a CSS display guarantee.
When to use cite/q/blockquote Inline-Block Classify
Use this for the following task: Classifies cite, q and blockquote by standard content category and meaning. Phrasing content is reported rather than a CSS display guarantee.
Prepare the parsed attribute values, element states or ordered local lists requested below. Keep attribute presence separate from value.
How to use cite/q/blockquote Inline-Block Classify and understand its results
- Prepare the parsed attribute values, element states or ordered local lists requested below. Keep attribute presence separate from value.
- Enter tag using the field table, then run the tool.
- Read phrasing, quotation, workTitle. Interpret flags, units, ordering and placeholder values using the rules below.
- Review any reported issue or failed check, correct the supplied values when appropriate, and verify the result in its intended context.
| Input field | Meaning | Value type and bounds | Requirement |
|---|---|---|---|
| tag | Tag | string; choose "cite", "q", "blockquote" | Required |
Choose cite, q or blockquote and return the three semantic flags.2
phrasing = tag != blockquote; quotation = tag != cite; workTitle = tag == cite This summarizes the declared operation. Units, indexing, inclusivity and exceptional cases are explained in the surrounding text.
| Output field | Meaning | Value type |
|---|---|---|
| phrasing | Phrasing | boolean |
| quotation | Quotation | boolean |
| workTitle | Work Title | boolean |
{
"input": {
"tag": "q"
},
"output": {
"phrasing": true,
"quotation": true,
"workTitle": false
}
} Limitations and assumptions
This does not validate a quotation, its source URL or how CSS displays the element.
This evaluates supplied local information; it does not fetch a page or run a browser. Malformed requests produce input errors. A successfully evaluated request can still contain false flags, empty result lists or a result outside the supplied threshold; those outcomes have the meanings stated above.
Alternative or Complementary methods
Choose b/i vs strong/em Semantic Split for this operation: Classifies b, i, strong and em by standard meaning: attention, alternate voice, importance or stress emphasis. Font weight and style are not inferred. For a complementary task, use ruby/rt/rp Structure Lookup for this operation: Classifies ruby as the annotation container, rt as annotation text and rp as fallback parentheses. This vocabulary lookup does not validate a complete ruby content model.
Further background: HTML / accessibility reference: cite/q/blockquote Inline-Block Classify.
References
Similar or alternative tools
- b/i vs strong/em Semantic Split
Classifies b, i, strong and em by standard meaning: attention, alternate voice, importance or stress emphasis. Font weight and style are not inferred.
- ruby/rt/rp Structure Lookup
Classifies ruby as the annotation container, rt as annotation text and rp as fallback parentheses. This vocabulary lookup does not validate a complete ruby content model.