@@ -1144,15 +1144,16 @@ gatherAttrRecursive classes node has transform styles attrs children elementAttr
11441144 -- previously we rendered a <p> tag, though apparently this invalidates the html if it has <div>s inside.
11451145 -- Since we can't guaranteee that there are no divs, we need another strategy.
11461146 -- While it's not documented in many places, there apparently is a paragraph aria role
1147− -- maybe it doesn't do anything, but it might help.
11481147 -- https://github.com/w3c/aria/blob/11f85f41a5b621fdbe85fc9bcdcd270e653a48ba/common/script/roleInfo.js
1148+ -- Though we'll need to wait till it gets released in an official wai-aria spec to use it.
1149+ -- If it's used at the moment, then Lighthouse complains (likely rightfully) that role paragraph is not recognized.
11491150 gatherAttrRecursive
11501151 classes
11511152 node
11521153 has
11531154 transform
11541155 styles
1155− (VirtualDom.attribute "role" "paragraph" :: attrs)
1156+ attrs
11561157 children
11571158 remaining
11581159