diff --git a/course/templates/activitychooser.mustache b/course/templates/activitychooser.mustache index 3a50df1b58b..18d33ea88cc 100644 --- a/course/templates/activitychooser.mustache +++ b/course/templates/activitychooser.mustache @@ -74,8 +74,8 @@ role="tab" aria-label="{{#str}} aria:recommendedtab, core_course {{/str}}" aria-controls="recommended-{{uniqid}}" - aria-selected="false" - tabindex="-1" + aria-selected="{{#recommendedFirst}}true{{/recommendedFirst}}{{^recommendedFirst}}false{{/recommendedFirst}}" + tabindex="{{#recommendedFirst}}0{{/recommendedFirst}}{{^recommendedFirst}}-1{{/recommendedFirst}}" > {{#str}} recommended, core {{/str}}