Accessibility violation: Form control with "textbox" role has no associated label

In codemirror 6, I see this accessibility violation for cm-content class.

How to add aria-label for basicSetup code editor?

See this issue.

@marijn I don’t understand. How to add contentAttributes.of({"aria-label": "some meaningful label"}) to the div having cm-content class?