Correct. This also works for radio buttons, which is even better as when you declare their name the browser/screenreader automatically detects them as a group.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I guess you don't even have to declare the role, as they're effectively checkboxes, even if they look like buttons.
Correct. This also works for radio buttons, which is even better as when you declare their name the browser/screenreader automatically detects them as a group.