'Test the accessibility of the editable version of the profile page
(user viewing her own public profile).'

def test_editable_learner_profile_a11y(self):

    (username, _) = self.log_in_as_unique_user()
    profile_page = self.visit_profile_page(username)
    profile_page.a11y_audit.check_for_accessibility_errors()
    profile_page.make_field_editable('language_proficiencies')
    profile_page.a11y_audit.check_for_accessibility_errors()
    profile_page.make_field_editable('bio')
    profile_page.a11y_audit.check_for_accessibility_errors()
