The way it's written here, a chunk has been taken out of section 62 of the electoral code of Morocco, which describes at some length the visual ID you can use. They have a lot of visual ID in Morocco: passports, driver licences, hunting licences, what they call family record books, booklets of marital status, and professional cards. They then go on and vote, they present their card. It says here: “With the ballot in hand, the elector enters the polling booth and indicates his/her choice of candidate in the appropriate space, folds the ballot and presents his/her electoral card and identification card to the president who checks the name of the elector against the electoral list and verifies the elector’s identity.” It doesn't actually say “verifies it by visually...”.
So I'm wondering, is that in fact what happens, do you know?