isContentEditable covers the case when the contenteditable property is inherited from an ancestor
"Element with contenteditable attribute" sounds like it also covers contenteditable="false" or contenteditable="inherit", but it doesn't make sense that aria-readonly="false" in this case.
contenteditable="false"
orcontenteditable="inherit"
, but it doesn't make sense thataria-readonly="false"
in this case.Preview | Diff