Patent attributes
An accessory device including a foldable cover, a keyboard assembly coupled to the foldable cover and including a plurality of individually depressible keys, an attachment feature connected to the enclosure and configured to magnetically couple the accessory device with the electronic device. The attachment feature includes an exterior surface, a plurality of openings formed through the exterior surface, a plurality of movable contacts corresponding in number to the plurality of openings, each movable contact extending out of one of the plurality of openings, and an alignment feature comprising at least one magnet positioned adjacent to the plurality of openings.