You can replace one weapon attack to don or doff a shield.
Using Items
Use Mundane Items
When a mundane item says you can use it as an action, you can instead replace one weapon attack to use it. For example: You can use Alchemist's Fire, Ball Bearings, Caltrops, Healer's Kit or Holy Water by replacing single weapon attacks.