Open
Description
When opening a sharing modal, recipients list uses a <Typography>
component that generated nested <p>
elements in DOM.
Nested <p>
elements can be rendered but this does not produce a HTML document that is not conform with W3C specifications. A <p>
element should contain only phrasing
content : http://dev.w3.org/html5/spec/single-page.html#phrasing-content
This bug may be related to cozy-ui
but the documentation seems not to have this problem: https://docs.cozy.io/cozy-ui/react/#!/Typography
Code responsible for this component :
cozy-libs/packages/cozy-sharing/src/components/Recipient.jsx
Lines 298 to 321 in 9f463ef