Aria selected is a better fit here

This commit is contained in:
Jorge Manrubia
2025-06-02 13:37:29 +02:00
parent db9ee1b3b2
commit a3866348fd
@@ -3,7 +3,7 @@ import { nextFrame } from "helpers/timing_helpers"
export default class extends Controller {
static targets = [ "item" ]
static values = { selectionAttribute: { type: String, default: "aria-current" } }
static values = { selectionAttribute: { type: String, default: "aria-selected" } }
connect() {
this.selectLast()