In a food processor or stand mixer, combine flour, powdered sugar, salt, vanilla extract, and almond extract. Mix together.
Cube butter into 1 tablespoon pieces and add to food processor or mixer.
Pulse or mix until soft dough forms. If using a stand mixer, this may take a little longer. I find it useful to press the dough together occasionally. Sprinkles may be added now into the dough or pressed into each piece once rolled later. Once dough has come together, move to a mixing bowl or countertop and knead into a ball.
On parchment paper, roll the dough into a ½-inch thick square.
Freeze on cookie sheet for 15 minutes.
Preheat oven to 350°F. Line a cookie sheet with parchment paper.
Cut shortbread cookie dough into 1-ich by 1-inch squares using a sharp knife, pastry cutter, pizza cutter. I like to use a ruler for this step.
In a small bowl, add sprinkles.
Press each cookie square into sprinkles if not already added to dough. Transfer dough to baking sheet.
Bake in oven 18-22 minutes or until the bottoms are slightly golden brown.