ngA11y
ngA11y copied to clipboard
focusSelector
The focus selector gets all items, however items that are hidden are not focusable. In this case if your first or last item is hidden via attribute or css it still gets added to the array and causes issues.
the solution is to expose the service so that the end user can customize this jquery selector as not everyone uses the same hidden classes. this should also take into account that inputs can have attribute hidden="true"