It can request with a JS call. It can't passively collect it without you approving first. The article is written like calling that JS function will turn on location tracking without consent.
How would you have written it differently
This data has well-known limitations, but I think it is the fallback people are talking about here.