0
I own a mat-accordion that has a mat-Selection-list in an internal way.
I saw that inside this mat-Selection-list has an attribute that calls Aria-Selected, I need to take the data of the checkbox that is with this Aria-Selected marked as true.
How to do this?
The result of my rendered html
<mat-list-option _ngcontent-c6="" checkboxposition="before" class="mat-list-item mat-list-option ng-star-inserted" role="option" tabindex="-1" ng-reflect-checkbox-position="before" ng-reflect-value="[object Object],[object Object" aria-selected="true" aria-disabled="false">
<div class="mat-list-item-content"><div class="mat-list-item-ripple mat-ripple" mat-ripple="" ng-reflect-disabled="false" ng-reflect-trigger="[object HTMLElement]"></div>
<mat-pseudo-checkbox class="mat-pseudo-checkbox mat-pseudo-checkbox-checked" ng-reflect-state="checked" ng-reflect-disabled="false">
</mat-pseudo-checkbox>
<div class="mat-list-text">
<div _ngcontent-c6="" class="container">
<div _ngcontent-c6="" class="row">
<div _ngcontent-c6="" class="col-md-12">
Radiologia
</div>
</div>
</div>
</div>
</div>
</mat-list-option>