Criticality of metals and metalloids