Материальный дизайн, Assestive Technology - PullRequest
0 голосов
/ 31 января 2019
Do I need to specify the tabindex when using Material Design for a multi-select dropdown so that the keyboard users can navigate easily. I read that there is no need to explicitly mention the tabindex. But, in my case, it is not working without the tabindex.

        <mat-form-field>
        <mat-select>
        <mat-option tabindex="0" title="{{topping?.value}}" *ngFor="let topping of 
        genderList" [value]="topping?.code">{{topping?.value}}</mat-option>
        </mat-select>
        </mat-form-field>

Вот фрагмент кода того, что я сделал до сих пор

...