'Scenario: screen reader labels exist for text and tags fields
Given I have a course with 3 components with notes
When I open the unit with 2 annotatable components
And I open the editor for each note
Then the text and tags fields both have screen reader labels'

def test_sr_labels(self):

    self._add_notes()
    self.note_unit_page.visit()
    for note in self.note_unit_page.components[0].edit_note():
        self.assertTrue(note.has_sr_label(0, 0, 'Note'))
        self.assertTrue(note.has_sr_label(1, 1, 'Tags    (space-separated)'))
    for note in self.note_unit_page.components[1].edit_note():
        self.assertTrue(note.has_sr_label(0, 2, 'Note'))
        self.assertTrue(note.has_sr_label(1, 3, 'Tags    (space-separated)'))
