Merge pull request #6467 from dsesami/survey-list-ids

Add IDs to survey list items

Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
This commit is contained in:
softwarefactory-project-zuul[bot] 2020-03-27 20:17:45 +00:00 committed by GitHub
commit 78db965797
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -39,7 +39,10 @@ function SurveyListItem({
onMoveDown,
}) {
return (
<DataListItem aria-labelledby={i18n._(t`Survey questions`)}>
<DataListItem
aria-labelledby={i18n._(t`Survey questions`)}
id={`survey-list-item-${question.variable}`}
>
<DataListItemRow css="padding-left:16px">
<DataListAction
id="sortQuestions"