Even it's light AA arnament was radar guided.The 5.25-inch (133 mm) gun was primarily a surface weapon, but it was intended to fire the heaviest shell suitable for anti-aircraft defence and accounted for around 23 aircraft and saw off far more.
And even when they change some of the dido class main guns to lower 4.5 inch, it was said to be that it just made it even better as AA.