This is only tangential, but Adam Gazzaley's The Distracted Mind (2016, MIT Press) provides an excellent anatomy of focus and attention, working memory, goal management and overall cognitive control, then places them in the context of modern technology to discuss how people can fight distraction.
https://www.endeavorotc.com
Duke replicated Gazzaley's results.
The first section of his book is good at explaining attention:
https://www.amazon.com/Distracted-Mind-Ancient-Brains-High-T...