The accepted answer of this question seems to indicate that the z-value of the margin is the same as the z-value of the coefficient in the logit model. This, it seems, is true with how Stata calculates the standard deviation for the margins with the delta method.
The question emerged from Stata output, but I'm interested in the general issue of calculating the t-value for the margins.
Setup
Let's define some terms. Suppose I run a logit for the probability of $y = 1$ on $x_1, x_2$. Let the logit estimates be $\hat{\beta}_1, \hat{\beta}_2$ and let the logit link function $f()$ be:
$$ f = {1 \over 1+ exp(-x\beta)}$$
I'm not sure how Stata calculates the default margin, but (looking at the documentation, p. 50)[https://www.stata.com/manuals13/rmargins.pdf#rmargins] it seems that the marginal effect is calculated at every point and then averages.
Margins for $X_1$
Thus the margin for $x_1$ would be calculated as a sum over all observations:
$$\hat{p}_1 = {1 \over N} \sum_{i=1}^N h_1(x_i, \hat{\beta}) $$
where
$$h(x_i, \hat{\beta}) ={ \partial f(x, \hat{\beta}) \over \partial x_1 } $$
Calculation of T values / z-score
the z-score would be the t-value of the hypothesis that the coefficient or the margin is zero.
For the logit coefficients
$$ z-score = { \hat{\beta_1} \over \sqrt{\hat{V}}_{1, 1} }$$
where $\hat{V}$ is the asymptotic variance that comes from the general maximum likelihood estimation problem.
For the margins
If we use the delta-method, then I think it should be:
$$ z-score = { \hat{p}_1 \over \sqrt{[\hat{p}_1']^2 \hat{V}} }$$
where the derivative of $\hat{p}_1$ is taken with respect to $\beta_1$ in this example.
Let me know if my notation or definitions have any issues and I'll correct it so the question becomes clearer, thanks!