Search Unity

UIElements UXML Accessibility support?

Discussion in 'UI Toolkit' started by keil_unity, Jun 11, 2021.

  1. keil_unity

    keil_unity

    Joined:
    Mar 2, 2021
    Posts:
    28
    hey all,

    my team is currently using the new unity UIToolkit and loving it 10/10. But we are trying to make our games more accessible and found we can write our own UXML. Is it possible to labels and screen reader support for our UI using UXML? I have tried many things but when I turn on screen reader it does not seem to be able to read any of our onscreen Text.

    Example:
    <ui:Button text="Play&#10;" display-tooltip-when-elided="true" name="Play" label="Play" class="Button" />
     
    LinnPeder and Cery_ like this.
  2. griendeau_unity

    griendeau_unity

    Unity Technologies

    Joined:
    Aug 25, 2020
    Posts:
    248
    We don't support this accessibility feature yet in UI Toolkit unfortunately, but it is definitely something we want to improve in the Editor and in our standard controls. We are still in the very early stages of this research.
     
    LinnPeder, influxus and Cery_ like this.