Environment Information
- Package version(s): (fill this out)
- Browser and OS versions: (fill this out)
Describe the issue:
In the DocumentCard with multiple items, commands, and views example, the entire block containing links is contained within a div with role="button". This doesn't parse and violates Success Criterion 4.1.1 Parsing
Please provide a reproduction of the issue in a codepen:
Codepen using unmodified Fabric example
Actual behavior:
Copying and pasting the HTML into the parser at Nu HTML Checker produces the following errors (duplicates removed):
Error: The element a must not appear as a descendant of an element with the attribute role=button.
and
Error: The element button must not appear as a descendant of an element with the attribute role=button.
Expected behavior:
Expected to parse correctly. Poorly formed HTML may result in unexpected errors for users.
Documentation describing expected behavior
Understanding Success Criterion 4.1.1: Parsing
Environment Information
Describe the issue:
In the DocumentCard with multiple items, commands, and views example, the entire block containing links is contained within a div with role="button". This doesn't parse and violates Success Criterion 4.1.1 Parsing
Please provide a reproduction of the issue in a codepen:
Codepen using unmodified Fabric example
Actual behavior:
Copying and pasting the HTML into the parser at Nu HTML Checker produces the following errors (duplicates removed):
Error: The element a must not appear as a descendant of an element with the attribute role=button.
and
Error: The element button must not appear as a descendant of an element with the attribute role=button.
Expected behavior:
Expected to parse correctly. Poorly formed HTML may result in unexpected errors for users.
Documentation describing expected behavior
Understanding Success Criterion 4.1.1: Parsing