a11y: Don't copy attribute names in attribute sets
We only need these names when serializing a11y information for tests. And copying these strings is entirely unnecessary. So, just pass a callback instead.
We only need these names when serializing a11y information for tests. And copying these strings is entirely unnecessary. So, just pass a callback instead.