The interface produced violates WCAG 2.4.6 by creating multiple "Book Now" buttons that perform different actions.
What should happen is something like this:
<button style="..."><span style="...">Book<span class="sr-only"> Mott 32 </span>Now</span></button>
<button style="..." aria-label="book mott 32 now"><span style="...">Book Now</span></button>
<button style="..." aria-labelledby="book mott32 now"><span style="..."><span id="book">Book</span> <span id="mott32" style="display:none"> Mott 32 </span><span id="now">Now</span></span></button>
What's responsible for building "invisible" text of the interface? Is it the JSON (maybe the schema is incomplete), the composer, or better inference instructions?
The interface produced violates WCAG 2.4.6 by creating multiple "Book Now" buttons that perform different actions.
What should happen is something like this:
What's responsible for building "invisible" text of the interface? Is it the JSON (maybe the schema is incomplete), the composer, or better inference instructions?