Dust on keyboards is tricky. Suction - this would do fine. But channeling that suction and getting the appropriate ‘scrubbing’ bristles to get it moving is the challenge. The scrubbing attachment found here is pretty short - so if we’re talking about a laptop keyboard, maybe. Otherwise I’d recommend looking at something with the appropriate nozzle sizes. There are a lot of cheap options on amazon, but also Shark has sold attachment sets for its other standard upright vacuums in the past with hoses, and detail nozzles/brushes. Unfortunately those won’t work with this nozzle design, but if you have another shark vacuum search for “Shark Micro vacuum accessory kit” and you should be able to find a kit that will give you a small hose and detail brushes.