Open ecureuill opened 4 years ago
This Feature is ready to be implemented.
<b> <i> <u>
etc)[ ] this function as button, must no be anchors
[ ] Certain ARIA roles must contain particular children.
[ ] due to emulating link instead of use <a>
in Link component
[ ] due to use a button
in Activity and Quiz component when it not function as a button
This is a "not-end" requirement. What I want to mean is that this should be considered for any new page you create that Student can access. Also should correct the old pages.
I will use the label Feature Design Notes to this cases
WCAG: 1.3.1
Use the appropriate semantic elements will make sure the structure is available to the user agent. This involves explicitly indicating the role that different units have in understanding the meaning of the content.
Scenario The technology in use does NOT provide the semantic structure to make the information and relationships conveyed through presentation programmatically determinable:
Test Procedure
Example 1: Indicating new content with boldface and a text indicator
The following example shows a list of accessibility standards. WCAG 2.0 is new, so is indicated in bold face. To avoid conveying information solely by presentation, the word "(new)" is included after it as well.
Example 2: Font variations and explicit statements.
An on-line document has gone through multiple drafts. Insertions are underlined and deletions are struck through. At the end of the draft a "change history" lists all changes made to each draft.
Example 3: Providing an alternate way to know which words in the text have been identified by using a different font.
An on-line test requires students to write a short summary of a longer document. The summary must contain certain words from the original document. When a sentence in the original document contains a word or phrase that must be used in the summary, the word or phrase is shown in a different font than the rest of the sentence. A separate section also lists all the words and phrases that must be used in the summary.
Scenario: Heading
Scenario: Data table
83
81
Scenario: Lists and group of links
85
84
Scenario: Using functions of the Document Object Model (DOM) to add content to a page
86
Scenario: CSS content
Meaningful content must not be implemented using only CSS
:before
or:after
.:heavy_check_mark: "New!" is inserted directly into the titles of newly reviewed books.
Scenario: Letter spacing
letter-spacing
property to adjust the space between the letters in a word. To maintain consistent spacing when users adjust the font size, use a relative unit, such as em.Scenario: Groups of options
Selection list is a set of allowed values for a form control such as a multi-select list or a combo box. Often, selection lists have groups of related options. Those groups should be semantically identified, rather than simply delimiting the groups with "dummy" list entries. This allows user agents to collapse the options by group to support quicker skimming of the options, and to indicate in what group an option of interest is located. It also helps to visually break up long lists so that users can more easily locate the option(s) they are interested in.
The optgroup element should be directly inside the select element, and the option elements directly inside the optgroup. It is possible for a select element to contain both single option elements and optgroup groups, though authors should consider if this is in fact the desired intent when using this. It is not possible to nest the optgroup element, so only one level of grouping can be done within a select.
Tests Procedure
Example 1
The following combo box collects data about favorite foods. Grouping by type allows users to select their preference more quickly.
Example 2
The following example shows how a multi-select box can make use of the optrgroup element.
Scenario: Document structure
84
Scenario: Text Semantic
Tags like
em
,strong
,mark
,cite
,blockquote
,q
,time
,h1
...h6
,ol
,ul
,address
,audio
,video
,picture
,figure
,figcaption
, etcTest Procedure
Using semantic elements to mark up structure
For each part that has a semantic function, if corresponding semantic markup exists in the technology, check that the content has been marked up using that semantic markup. Expected Results: Check 2 is true.
Example 1
A paragraph contains a hyperlink to another page. The hyperlink is marked up using the a element.
Example 2
A page about the history of marriage uses a quotation from Jane Austen's novel, Pride and Prejudice, as an example. The reference to the book is marked up using the cite element and the quotation itself is marked up using the blockquote element.
Example 3
A car manual explains how to start the engine. The instructions include a warning to make sure the gear is in neutral. The author feels the warning is so important that it should be emphasized so the warning is marked up using the strong element.
Example 4
This example shows how to use the em and strong elements to emphasize text.
Example 5
Using highlighting and background color to visually and semantically identify important information.
Using semantic markup to mark emphasized or special text
Example 1
This example shows how to use the em and strong elements to emphasize text. The em and strong elements were designed to indicate structural emphasis that may be rendered in a variety of ways (font style changes, speech inflection changes, etc.).
Example 2
This example shows using the blockquote element to mark up long quotations which may require paragraph breaks. It also demonstrates the use of the cite element to specify a reference.
Example 3
Here is the use of the q element to mark up a shorter quotation. Quotes are provided around the q element, because many user agents do not support this element yet and therefore do not display it properly (see UA notes). CSS rules to suppress automatic generation of quotes are provided for those user agents that do support the q element, to prevent them from generating quotes automatically in addition to the quotes provided by the author, resulting in double-quoted content. In the future, when the q element is more broadly supported, the need to provide quotes and suppress browser-generated quotes will go away.
Example 4
Superscripts and subscripts are created using the sup and sub elements.