function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
punit tyagi 7punit tyagi 7 

why in aura modal contain tabindex value either 0 or -1 why

SwethaSwetha (Salesforce Developers) 
HI Punit,
As per salesforce documentation- https://developer.salesforce.com/docs/component-library/documentation/en/lwc/lwc.create_components_focus ,

"Only 0 and -1 tabindex values are supported. Assigning tabindex="0" means that the element focuses in standard sequential keyboard navigation.
Assigning it tabindex="-1" removes the element from sequential keyboard navigation"

Related: https://webaim.org/techniques/keyboard/tabindex

Hope this helps you. Please mark this answer as best so that others facing the same issue will find this information useful. Thank you