Accessibility warning in Chrome Lighthouse report

Lighthouse in Chrome Version 97.0.4692.99 (Official Build) (64-bit), reports the following accessibility warning

`[aria-*]` attributes do not match their roles


<div spellcheck="false" autocorrect="off" autocapitalize="off"
translate="no" contenteditable="true"
class="cm-content cm-lineWrapping"
style="tab-size: 4" role="textbox"
aria-autocomplete="list" aria-expanded="false">

How can this warning be addressed?

I think (but I’m in no means an expert here) that the implementation (in NVDA) might not match the spec here. These are the attributes that made NVDA properly announce autocompletion. The error message doesn’t say which attribute it has a problem with, but I suspect it’s aria-expanded, and if I remember correctly removing that caused NVDA to misbehave. If someone more familiar with this stuff wants to weigh in here that’d be very welcome.