<script type="application/javascript">
function doTest() {
// Ensure that flexbox ordering and absolute positioning do not affect
// the accessibility tree.
// Note that there is no accessible for a div with display:flex style. var accTree = {
role: ROLE_SECTION,
children: [
{ // Bug 1277559. Button outside the flexed content
role: ROLE_PUSHBUTTON,
name: "Button",
},
{ // Visually first button in the 3 button row
role: ROLE_PUSHBUTTON,
name: "First",
},
{ // Flushed right third button in the 3 button row
role: ROLE_PUSHBUTTON,
name: "Second",
},
{ // Middle button in the 3 button row
role: ROLE_PUSHBUTTON,
name: "Third",
}, // end bug 1277559
{ // Bug 962558: DOM first, Order 2.
role: ROLE_PUSHBUTTON,
name: "two, tab first",
},
{ // DOM order second, flex order 1
role: ROLE_PUSHBUTTON,
name: "one, tab second",
}, // end bug 962558
],
};
testAccessibleTree("flex_elements", accTree);
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.