Including the item count e.g. "Item 1 of 3", in the .narrative__controlsaria-label was dependant on the item having a title. Item count now reads regardless.
When _items[].title is set,.narrative__controlsaria-label reads as "Back to item title (item 1 of 3)".
When _items[].title is not set,.narrative__controlsaria-label reads as "Back (item 1 of 3)".
Including the item count e.g. "Item 1 of 3", in the
.narrative__controls
aria-label
was dependant on the item having atitle
. Item count now reads regardless.When
_items[].title
is set,.narrative__controls
aria-label
reads as "Back to item title (item 1 of 3)".When
_items[].title
is not set,.narrative__controls
aria-label
reads as "Back (item 1 of 3)".Fixes https://github.com/adaptlearning/adapt-contrib-narrative/issues/293